Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_9_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.001262/0.001262, allocations: 97.91 kB / 15.05 MB, free: 1.105 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.00146/0.00146, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.399/2.399, allocations: 390.3 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004763, allocations: 8 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7323/0.7328, allocations: 142.3 MB / 0.9536 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.1946/0.9274, allocations: 164.1 MB / 1.114 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01445/0.9419, allocations: 9.566 MB / 1.123 GB, free: 2 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.9433, allocations: 39.75 kB / 1.123 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.9451, allocations: 0.5015 MB / 1.124 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005389/0.9505, allocations: 1.589 MB / 1.125 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00361/0.9542, allocations: 1.15 MB / 1.126 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003362/0.9575, allocations: 1.616 MB / 1.128 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/0.9592, allocations: 0.8927 MB / 1.129 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002694/0.9619, allocations: 1.121 MB / 1.13 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.9629, allocations: 0.642 MB / 1.131 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.9631, allocations: 52 kB / 1.131 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.9652, allocations: 0.8229 MB / 1.131 GB, free: 9.559 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004559/0.9656, allocations: 422.8 kB / 1.132 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003839/0.966, allocations: 277 kB / 1.132 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.9677, allocations: 1.512 MB / 1.134 GB, free: 7.352 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.9678, allocations: 4 kB / 1.134 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9678, allocations: 0 / 1.134 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.9678, allocations: 0 / 1.134 GB, free: 7.348 MB / 0.8887 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.002434/0.9702, allocations: 1.421 MB / 1.135 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.9703, allocations: 8.031 kB / 1.135 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001958/0.9705, allocations: 164.3 kB / 1.135 GB, free: 5.699 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.9722, allocations: 322 kB / 1.135 GB, free: 5.383 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.9739, allocations: 0.8515 MB / 1.136 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.994e-05/0.974, allocations: 82 kB / 1.136 GB, free: 4.406 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.9742, allocations: 108 kB / 1.136 GB, free: 4.301 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.976, allocations: 1.167 MB / 1.138 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.976, allocations: 3.984 kB / 1.138 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.839e-05/0.9761, allocations: 47.94 kB / 1.138 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.426e-05/0.9762, allocations: 34 kB / 1.138 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.9777, allocations: 0.9329 MB / 1.139 GB, free: 2.082 MB / 0.8887 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.005323/0.983, allocations: 4.725 MB / 1.143 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.9842, allocations: 0.7399 MB / 1.144 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004202/0.9846, allocations: 154.4 kB / 1.144 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.9846, allocations: 39.12 kB / 1.144 GB, free: 12 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=69): time 3.727e-06/0.9847, allocations: 3.984 kB / 1.144 GB, free: 12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=69): time 0.001937/0.9866, allocations: 1.025 MB / 1.145 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.9866, allocations: 67.91 kB / 1.145 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009223/0.9876, allocations: 0.7869 MB / 1.146 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.109e-05/0.9876, allocations: 41.7 kB / 1.146 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003857/0.988, allocations: 0.5306 MB / 1.147 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.9883, allocations: 248.4 kB / 1.147 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.9883, allocations: 16 kB / 1.147 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.9884, allocations: 337.9 kB / 1.147 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/0.9889, allocations: 293.8 kB / 1.147 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006406/0.9895, allocations: 0.4992 MB / 1.148 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005503/0.9901, allocations: 371 kB / 1.148 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.9901, allocations: 4 kB / 1.148 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001365/0.9915, allocations: 0.9139 MB / 1.149 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.000692/0.9922, allocations: 1.764 MB / 1.151 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.9922, allocations: 4 kB / 1.151 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.9922, allocations: 8 kB / 1.151 GB, free: 4.828 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008607/0.9931, allocations: 179.8 kB / 1.151 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004052/0.9935, allocations: 0.6016 MB / 1.152 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008922/0.9944, allocations: 139.1 kB / 1.152 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-05/0.9945, allocations: 39.95 kB / 1.152 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.9945, allocations: 4 kB / 1.152 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001213/0.9957, allocations: 0.8002 MB / 1.153 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.9957, allocations: 4 kB / 1.153 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.9958, allocations: 11.98 kB / 1.153 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006316/0.9964, allocations: 163.8 kB / 1.153 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.9964, allocations: 15.92 kB / 1.153 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007904/0.9972, allocations: 123.4 kB / 1.153 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/0.9973, allocations: 36 kB / 1.153 GB, free: 2.699 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005844/0.9979, allocations: 400.8 kB / 1.153 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.998, allocations: 106.7 kB / 1.153 GB, free: 2.191 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.9994, allocations: 0.8093 MB / 1.154 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.9994, allocations: 8 kB / 1.154 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.9994, allocations: 96 / 1.154 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001049/1, allocations: 0.8904 MB / 1.155 GB, free: 416 kB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003537/1.004, allocations: 2.178 MB / 1.157 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.004, allocations: 4 kB / 1.157 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007145/1.005, allocations: 147.8 kB / 1.157 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/1.005, allocations: 8 kB / 1.157 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.923e-05/1.005, allocations: 20 kB / 1.157 GB, free: 13.95 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002907/1.005, allocations: 0.5978 MB / 1.158 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.005, allocations: 4.031 kB / 1.158 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/1.007, allocations: 1.404 MB / 1.159 GB, free: 11.81 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004287/1.007, allocations: 259.7 kB / 1.16 GB, free: 11.54 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/1.007, allocations: 20 kB / 1.16 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005908/1.008, allocations: 71.72 kB / 1.16 GB, free: 11.45 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/1.008, allocations: 52.45 kB / 1.16 GB, free: 11.4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/1.008, allocations: 24 kB / 1.16 GB, free: 11.38 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006503/1.009, allocations: 0.5343 MB / 1.16 GB, free: 10.83 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/1.009, allocations: 0 / 1.16 GB, free: 10.83 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001337/1.01, allocations: 0.5687 MB / 1.161 GB, free: 10.26 MB / 0.92 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002541/1.013, allocations: 2.713 MB / 1.163 GB, free: 7.469 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001965/1.015, allocations: 1.173 MB / 1.165 GB, free: 6.301 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.015, allocations: 0 / 1.165 GB, free: 6.301 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005442/1.015, allocations: 371.4 kB / 1.165 GB, free: 5.938 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/1.017, allocations: 483.4 kB / 1.165 GB, free: 5.469 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/1.027, allocations: 9.273 MB / 1.174 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007728/1.028, allocations: 1.21 MB / 1.176 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001134/1.029, allocations: 364 kB / 1.176 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005518/1.03, allocations: 439.3 kB / 1.176 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of SimCode: time 6.61e-07/1.03, allocations: 0 / 1.176 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04875/1.079, allocations: 26.34 MB / 1.202 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/1.079, allocations: 259.7 kB / 1.202 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.436/3.515, allocations: 0 / 1.202 GB, free: 15.62 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat does not exist to compare? outputFormat=mat