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.224/2.224, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001431/0.001431, allocations: 187.8 kB / 0.4901 GB, free: 2.281 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.562/1.562, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001055/0.001055, allocations: 96.2 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.000368, allocations: 11.56 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3202, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.188/5.509, allocations: 1.907 GB / 3.136 GB, free: 46.16 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003856/5.509, allocations: 88.33 kB / 3.136 GB, free: 46.11 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.444/6.953, allocations: 247 MB / 3.378 GB, free: 277.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.954e-06/6.953, allocations: 0 / 3.378 GB, free: 277.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.806e-05/6.954, allocations: 8 kB / 3.378 GB, free: 277.3 MB / 1.167 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.001713/6.955, allocations: 0.6972 MB / 3.378 GB, free: 276.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/6.955, allocations: 8.828 kB / 3.378 GB, free: 276.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/6.955, allocations: 55.75 kB / 3.378 GB, free: 276.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/6.957, allocations: 143.5 kB / 3.378 GB, free: 276.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006291/6.957, allocations: 322.5 kB / 3.379 GB, free: 275.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/6.957, allocations: 20.44 kB / 3.379 GB, free: 275.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.476e-05/6.958, allocations: 24 kB / 3.379 GB, free: 275.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/6.958, allocations: 271.5 kB / 3.379 GB, free: 275.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/6.958, allocations: 3.938 kB / 3.379 GB, free: 275.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/6.958, allocations: 8 kB / 3.379 GB, free: 275.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/6.958, allocations: 4 kB / 3.379 GB, free: 275.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/6.959, allocations: 207.7 kB / 3.379 GB, free: 275.4 MB / 1.167 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.001511/6.96, allocations: 1.205 MB / 3.38 GB, free: 274.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/6.96, allocations: 130.4 kB / 3.381 GB, free: 274 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004802/6.961, allocations: 299.3 kB / 3.381 GB, free: 273.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/6.961, allocations: 34.56 kB / 3.381 GB, free: 273.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=15): time 3.617e-06/6.961, allocations: 0 / 3.381 GB, free: 273.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=15): time 0.00082/6.962, allocations: 274.8 kB / 3.381 GB, free: 273.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/6.962, allocations: 55.41 kB / 3.381 GB, free: 273.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/6.962, allocations: 275.7 kB / 3.382 GB, free: 272.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/6.962, allocations: 33.7 kB / 3.382 GB, free: 272.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/6.962, allocations: 184 kB / 3.382 GB, free: 272.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/6.962, allocations: 51.3 kB / 3.382 GB, free: 272.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/6.962, allocations: 7.938 kB / 3.382 GB, free: 272.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.985e-05/6.962, allocations: 342.8 kB / 3.382 GB, free: 272.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/6.962, allocations: 64.33 kB / 3.382 GB, free: 272.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/6.963, allocations: 129.8 kB / 3.382 GB, free: 272.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/6.963, allocations: 80.72 kB / 3.382 GB, free: 272 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/6.963, allocations: 0 / 3.382 GB, free: 272 MB / 1.167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004334/6.963, allocations: 237.1 kB / 3.383 GB, free: 271.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/6.963, allocations: 11.95 kB / 3.383 GB, free: 271.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/6.963, allocations: 0 / 3.383 GB, free: 271.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/6.963, allocations: 7.938 kB / 3.383 GB, free: 271.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/6.964, allocations: 43.91 kB / 3.383 GB, free: 271.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/6.964, allocations: 4 kB / 3.383 GB, free: 271.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/6.964, allocations: 43.86 kB / 3.383 GB, free: 271.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/6.964, allocations: 15.98 kB / 3.383 GB, free: 271.7 MB / 1.167 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 () * Number of clocked 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 0.0001544/6.964, allocations: 153.7 kB / 3.383 GB, free: 271.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/6.964, allocations: 23.72 kB / 3.383 GB, free: 271.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004353/6.965, allocations: 222.9 kB / 3.383 GB, free: 271.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/6.965, allocations: 4 kB / 3.383 GB, free: 271.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/6.965, allocations: 0 / 3.383 GB, free: 271.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/6.965, allocations: 0 / 3.383 GB, free: 271.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009985/6.966, allocations: 0.6718 MB / 3.384 GB, free: 270.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/6.966, allocations: 0 / 3.384 GB, free: 270.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/6.966, allocations: 40.19 kB / 3.384 GB, free: 270.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/6.966, allocations: 7.938 kB / 3.384 GB, free: 270.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/6.966, allocations: 8 kB / 3.384 GB, free: 270.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/6.966, allocations: 0 / 3.384 GB, free: 270.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/6.966, allocations: 4 kB / 3.384 GB, free: 270.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005937/6.966, allocations: 0.5048 MB / 3.384 GB, free: 269.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/6.967, allocations: 120.7 kB / 3.384 GB, free: 269.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/6.967, allocations: 8 kB / 3.384 GB, free: 269.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/6.967, allocations: 15.98 kB / 3.384 GB, free: 269.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/6.967, allocations: 28 kB / 3.384 GB, free: 269.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/6.967, allocations: 7.938 kB / 3.384 GB, free: 269.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002019/6.967, allocations: 223.1 kB / 3.385 GB, free: 269.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/6.967, allocations: 0 / 3.385 GB, free: 269.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008147/6.968, allocations: 168 kB / 3.385 GB, free: 269.3 MB / 1.167 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 () * Number of clocked 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.002689/6.971, allocations: 2.47 MB / 3.387 GB, free: 266.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004329/6.971, allocations: 163.9 kB / 3.387 GB, free: 266.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/6.971, allocations: 4.062 kB / 3.387 GB, free: 266.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/6.971, allocations: 83.89 kB / 3.387 GB, free: 266.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008059/6.972, allocations: 155.2 kB / 3.388 GB, free: 266.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/6.975, allocations: 2.492 MB / 3.39 GB, free: 263.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/6.975, allocations: 0.7877 MB / 3.391 GB, free: 262.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002868/6.976, allocations: 66.88 kB / 3.391 GB, free: 262.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/6.976, allocations: 87.41 kB / 3.391 GB, free: 262.8 MB / 1.167 GB Notification: Performance of SimCode: time 5.851e-06/6.976, allocations: 4 kB / 3.391 GB, free: 262.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04618/7.022, allocations: 24.29 MB / 3.415 GB, free: 238.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/7.022, allocations: 214.6 kB / 3.415 GB, free: 238.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.022/10.04, allocations: 11.88 kB / 3.415 GB, free: 238.4 MB / 1.167 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