Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.151/2.151, allocations: 390.5 MB / 398 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 180.8 kB / 491.2 MB, free: 1.551 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 221.5 MB / 0.7868 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009093/0.0009093, allocations: 87.91 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.863e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2457, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.746/4.992, allocations: 1.906 GB / 3.119 GB, free: 349.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/4.992, allocations: 86.23 kB / 3.119 GB, free: 349.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4635/5.456, allocations: 243.7 MB / 3.357 GB, free: 132 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.402e-06/5.456, allocations: 0 / 3.357 GB, free: 132 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.429e-05/5.456, allocations: 11.98 kB / 3.357 GB, free: 132 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008958/5.457, allocations: 0.6391 MB / 3.357 GB, free: 131.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/5.457, allocations: 11.97 kB / 3.357 GB, free: 131.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/5.458, allocations: 159.3 kB / 3.358 GB, free: 131.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/5.458, allocations: 309.9 kB / 3.358 GB, free: 130.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/5.458, allocations: 4 kB / 3.358 GB, free: 130.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/5.458, allocations: 19.98 kB / 3.358 GB, free: 130.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002272/5.459, allocations: 148.7 kB / 3.358 GB, free: 130.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/5.459, allocations: 222.7 kB / 3.358 GB, free: 130.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/5.459, allocations: 0 / 3.358 GB, free: 130.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/5.459, allocations: 3.953 kB / 3.358 GB, free: 130.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/5.459, allocations: 4 kB / 3.358 GB, free: 130.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.001009/5.46, allocations: 1.147 MB / 3.359 GB, free: 129.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/5.46, allocations: 102.5 kB / 3.359 GB, free: 129 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.621e-05/5.46, allocations: 64.84 kB / 3.36 GB, free: 128.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004045/5.461, allocations: 299.2 kB / 3.36 GB, free: 128.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/5.461, allocations: 34.56 kB / 3.36 GB, free: 128.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/5.461, allocations: 0 / 3.36 GB, free: 128.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=15): time 0.0005493/5.461, allocations: 203.3 kB / 3.36 GB, free: 128.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.651e-05/5.461, allocations: 55.41 kB / 3.36 GB, free: 128.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/5.461, allocations: 202.4 kB / 3.36 GB, free: 128.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/5.461, allocations: 25.7 kB / 3.36 GB, free: 128 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/5.462, allocations: 184.1 kB / 3.361 GB, free: 127.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/5.462, allocations: 51.2 kB / 3.361 GB, free: 127.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-06/5.462, allocations: 0 / 3.361 GB, free: 127.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.423e-05/5.462, allocations: 338.8 kB / 3.361 GB, free: 127.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.456e-05/5.462, allocations: 40.38 kB / 3.361 GB, free: 127.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.478e-05/5.462, allocations: 111.4 kB / 3.361 GB, free: 127.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/5.462, allocations: 92.98 kB / 3.361 GB, free: 127.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/5.462, allocations: 4 kB / 3.361 GB, free: 127.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003398/5.462, allocations: 207.1 kB / 3.361 GB, free: 127 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/5.462, allocations: 8 kB / 3.361 GB, free: 127 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/5.462, allocations: 0 / 3.361 GB, free: 127 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/5.462, allocations: 4 kB / 3.361 GB, free: 127 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/5.463, allocations: 47.91 kB / 3.361 GB, free: 126.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/5.463, allocations: 4 kB / 3.361 GB, free: 126.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/5.463, allocations: 31.92 kB / 3.361 GB, free: 126.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/5.463, allocations: 11.98 kB / 3.361 GB, free: 126.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.933e-05/5.463, allocations: 109.9 kB / 3.362 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003008/5.463, allocations: 177.3 kB / 3.362 GB, free: 126.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/5.463, allocations: 27.66 kB / 3.362 GB, free: 126.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003511/5.464, allocations: 194.4 kB / 3.362 GB, free: 126.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/5.464, allocations: 8 kB / 3.362 GB, free: 126.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/5.464, allocations: 0 / 3.362 GB, free: 126.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/5.464, allocations: 3.938 kB / 3.362 GB, free: 126.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007243/5.464, allocations: 0.6138 MB / 3.363 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/5.464, allocations: 4 kB / 3.363 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/5.465, allocations: 31.98 kB / 3.363 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/5.465, allocations: 4 kB / 3.363 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/5.465, allocations: 4 kB / 3.363 GB, free: 125.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/5.465, allocations: 3.953 kB / 3.363 GB, free: 125.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/5.465, allocations: 11.92 kB / 3.363 GB, free: 125.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/5.465, allocations: 465.3 kB / 3.363 GB, free: 125.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.372e-05/5.465, allocations: 112.8 kB / 3.363 GB, free: 125 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/5.465, allocations: 7.953 kB / 3.363 GB, free: 125 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/5.465, allocations: 23.98 kB / 3.363 GB, free: 124.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/5.465, allocations: 11.98 kB / 3.363 GB, free: 124.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/5.465, allocations: 11.98 kB / 3.363 GB, free: 124.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 9.289e-05/5.466, allocations: 158 kB / 3.363 GB, free: 124.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/5.466, allocations: 0 / 3.363 GB, free: 124.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004901/5.466, allocations: 147.8 kB / 3.363 GB, free: 124.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001754/5.468, allocations: 2.561 MB / 3.366 GB, free: 122 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001997/5.468, allocations: 123.8 kB / 3.366 GB, free: 121.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/5.468, allocations: 0 / 3.366 GB, free: 121.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 8.529e-05/5.468, allocations: 68.36 kB / 3.366 GB, free: 121.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005912/5.469, allocations: 117.9 kB / 3.366 GB, free: 121.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008078/5.47, allocations: 498.1 kB / 3.367 GB, free: 121.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/5.47, allocations: 0.7874 MB / 3.368 GB, free: 120.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001623/5.47, allocations: 50.03 kB / 3.368 GB, free: 120.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.682e-05/5.47, allocations: 83.41 kB / 3.368 GB, free: 120.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.3e-07/5.47, allocations: 0 / 3.368 GB, free: 120.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03212/5.502, allocations: 14.25 MB / 3.382 GB, free: 106 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001254/5.502, allocations: 167.7 kB / 3.382 GB, free: 105.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/7.667, allocations: 4 kB / 3.382 GB, free: 105.8 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat does not exist to compare? outputFormat=mat