Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00498/0.00498, allocations: 99.73 kB / 15.73 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 194.8 kB / 16.68 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.125 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.532/2.532, allocations: 482.6 MB / 0.755 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 64.12 kB / 1.083 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2627, allocations: 162.3 MB / 1.242 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.6661/0.9288, allocations: 198.1 MB / 1.435 GB, free: 15.21 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01305/0.9419, allocations: 10.91 MB / 1.446 GB, free: 6.098 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.943, allocations: 47.69 kB / 1.446 GB, free: 6.051 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.9443, allocations: 0.5277 MB / 1.447 GB, free: 5.52 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003745/0.9481, allocations: 1.789 MB / 1.448 GB, free: 3.723 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.9507, allocations: 1.155 MB / 1.449 GB, free: 2.574 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002984/0.9537, allocations: 2.776 MB / 1.452 GB, free: 15.79 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.955, allocations: 1.197 MB / 1.453 GB, free: 14.57 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003647/0.9587, allocations: 1.816 MB / 1.455 GB, free: 12.77 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.9599, allocations: 0.9375 MB / 1.456 GB, free: 11.83 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.9601, allocations: 124 kB / 1.456 GB, free: 11.71 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.9628, allocations: 1.711 MB / 1.458 GB, free: 9.996 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000466/0.9632, allocations: 0.5181 MB / 1.458 GB, free: 9.477 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006705/0.9639, allocations: 0.7192 MB / 1.459 GB, free: 8.754 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002676/0.9666, allocations: 2.363 MB / 1.461 GB, free: 6.383 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.9666, allocations: 0 / 1.461 GB, free: 6.383 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9666, allocations: 0 / 1.461 GB, free: 6.383 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.9666, allocations: 0 / 1.461 GB, free: 6.383 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.00231/0.9689, allocations: 1.742 MB / 1.463 GB, free: 4.586 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.969, allocations: 8.031 kB / 1.463 GB, free: 4.578 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001698/0.9692, allocations: 160.2 kB / 1.463 GB, free: 4.414 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.9707, allocations: 326.8 kB / 1.463 GB, free: 4.094 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.9721, allocations: 0.9258 MB / 1.464 GB, free: 3.125 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.23e-05/0.9722, allocations: 78 kB / 1.464 GB, free: 3.047 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.9723, allocations: 104 kB / 1.465 GB, free: 2.945 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.9741, allocations: 1.171 MB / 1.466 GB, free: 1.738 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.9741, allocations: 11.92 kB / 1.466 GB, free: 1.727 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-05/0.9742, allocations: 43.94 kB / 1.466 GB, free: 1.684 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.406e-05/0.9742, allocations: 41.98 kB / 1.466 GB, free: 1.641 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.9757, allocations: 0.9368 MB / 1.467 GB, free: 0.7031 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004793/0.9805, allocations: 4.798 MB / 1.471 GB, free: 11.5 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.9816, allocations: 0.7224 MB / 1.472 GB, free: 10.77 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/0.9822, allocations: 391.6 kB / 1.472 GB, free: 10.38 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005552/0.9828, allocations: 324.7 kB / 1.473 GB, free: 10.01 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.9828, allocations: 40 kB / 1.473 GB, free: 9.965 MB / 1.17 GB Notification: Performance of pre-optimization done (n=68): time 1.593e-06/0.9828, allocations: 0 / 1.473 GB, free: 9.965 MB / 1.17 GB Notification: Performance of matching and sorting (n=68): time 0.001761/0.9846, allocations: 1.006 MB / 1.474 GB, free: 8.953 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.9846, allocations: 59.97 kB / 1.474 GB, free: 8.883 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009027/0.9855, allocations: 0.7987 MB / 1.475 GB, free: 8.059 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.9856, allocations: 45.64 kB / 1.475 GB, free: 8.008 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/0.986, allocations: 0.5395 MB / 1.475 GB, free: 7.461 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.9862, allocations: 257.7 kB / 1.475 GB, free: 7.207 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.9864, allocations: 150.6 kB / 1.476 GB, free: 7.055 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.9865, allocations: 341.9 kB / 1.476 GB, free: 6.715 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004631/0.987, allocations: 296.7 kB / 1.476 GB, free: 6.422 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006277/0.9876, allocations: 0.489 MB / 1.477 GB, free: 5.855 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.9888, allocations: 0.7991 MB / 1.477 GB, free: 4.988 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.9888, allocations: 0 / 1.477 GB, free: 4.988 MB / 1.17 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001357/0.9901, allocations: 0.9184 MB / 1.478 GB, free: 4.062 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.9902, allocations: 4 kB / 1.478 GB, free: 4.059 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.9902, allocations: 8 kB / 1.478 GB, free: 4.051 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.9902, allocations: 8 kB / 1.478 GB, free: 4.043 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007649/0.991, allocations: 182.3 kB / 1.479 GB, free: 3.867 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003819/0.9914, allocations: 0.6018 MB / 1.479 GB, free: 3.242 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006113/0.992, allocations: 83.39 kB / 1.479 GB, free: 3.16 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.067e-05/0.992, allocations: 35.98 kB / 1.479 GB, free: 3.125 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007855/0.9928, allocations: 0.5409 MB / 1.48 GB, free: 2.578 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006178/0.9935, allocations: 0.4969 MB / 1.48 GB, free: 2.004 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001077/0.9946, allocations: 0.7835 MB / 1.481 GB, free: 1.156 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.9946, allocations: 0 / 1.481 GB, free: 1.156 MB / 1.17 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001322/0.9959, allocations: 0.9141 MB / 1.482 GB, free: 240 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.9959, allocations: 7.938 kB / 1.482 GB, free: 232 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.9959, allocations: 9.094 kB / 1.482 GB, free: 224 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.9959, allocations: 12.56 kB / 1.482 GB, free: 212 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/0.9965, allocations: 175.7 kB / 1.482 GB, free: 36 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.9965, allocations: 11.94 kB / 1.482 GB, free: 24 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005972/0.9971, allocations: 71.59 kB / 1.482 GB, free: 15.95 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.206e-05/0.9972, allocations: 31.94 kB / 1.482 GB, free: 15.92 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001992/0.9974, allocations: 228.9 kB / 1.482 GB, free: 15.69 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.9976, allocations: 111.3 kB / 1.483 GB, free: 15.58 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.9989, allocations: 0.7975 MB / 1.483 GB, free: 14.78 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.9989, allocations: 8 kB / 1.483 GB, free: 14.77 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.9989, allocations: 0 / 1.483 GB, free: 14.77 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001069/1, allocations: 0.8788 MB / 1.484 GB, free: 13.82 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003065/1.003, allocations: 2.14 MB / 1.486 GB, free: 11.58 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.003, allocations: 8.031 kB / 1.486 GB, free: 11.57 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006673/1.004, allocations: 151.9 kB / 1.486 GB, free: 11.42 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/1.004, allocations: 8 kB / 1.486 GB, free: 11.41 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/1.004, allocations: 16 kB / 1.486 GB, free: 11.4 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003126/1.004, allocations: 0.5938 MB / 1.487 GB, free: 10.78 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/1.004, allocations: 7.938 kB / 1.487 GB, free: 10.77 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/1.006, allocations: 1.284 MB / 1.488 GB, free: 9.445 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/1.006, allocations: 264.2 kB / 1.489 GB, free: 9.168 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/1.006, allocations: 19.88 kB / 1.489 GB, free: 9.148 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000443/1.007, allocations: 27.98 kB / 1.489 GB, free: 9.121 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.593e-05/1.007, allocations: 48.5 kB / 1.489 GB, free: 9.074 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/1.007, allocations: 20 kB / 1.489 GB, free: 9.055 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006416/1.008, allocations: 0.546 MB / 1.489 GB, free: 8.496 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.4e-07/1.008, allocations: 0 / 1.489 GB, free: 8.496 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001162/1.009, allocations: 0.569 MB / 1.49 GB, free: 7.926 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (limPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],senTraSubPeo.C,senTraSubFre.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002327/1.011, allocations: 1.979 MB / 1.492 GB, free: 5.906 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001906/1.013, allocations: 1.162 MB / 1.493 GB, free: 4.75 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.013, allocations: 0 / 1.493 GB, free: 4.75 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005433/1.013, allocations: 371.5 kB / 1.493 GB, free: 4.387 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/1.015, allocations: 485.9 kB / 1.494 GB, free: 3.922 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009793/1.025, allocations: 7.971 MB / 1.501 GB, free: 11.65 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007491/1.026, allocations: 1.171 MB / 1.503 GB, free: 10.45 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008553/1.027, allocations: 355.8 kB / 1.503 GB, free: 10.1 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000542/1.027, allocations: 431.3 kB / 1.503 GB, free: 9.676 MB / 1.201 GB Notification: Performance of SimCode: time 2.61e-07/1.027, allocations: 4 kB / 1.503 GB, free: 9.672 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.362/3.389, allocations: 26.45 MB / 1.529 GB, free: 15.68 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.46/25.85, allocations: 2.062 kB / 1.529 GB, free: 15.68 MB / 1.232 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=400 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)