Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.Examples.VolumeFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",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.001034/0.001034, allocations: 98.69 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.001218/0.001218, allocations: 177.3 kB / 15.95 MB, free: 216 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.414/1.414, allocations: 223.2 MB / 239.9 MB, free: 5.379 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.361/2.361, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003735, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7365/0.7369, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1748/0.9117, allocations: 140.2 MB / 1.09 GB, free: 3.648 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002743/0.9145, allocations: 1.575 MB / 1.092 GB, free: 2.07 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.9147, allocations: 11.94 kB / 1.092 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006425/0.9154, allocations: 175.2 kB / 1.092 GB, free: 1.887 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.9168, allocations: 0.518 MB / 1.093 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.918, allocations: 484.8 kB / 1.093 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005638/0.9186, allocations: 427.6 kB / 1.094 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.9189, allocations: 193.2 kB / 1.094 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00074/0.9197, allocations: 342.9 kB / 1.094 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.9199, allocations: 147.4 kB / 1.094 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.9199, allocations: 16 kB / 1.094 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008899/0.9208, allocations: 423.3 kB / 1.095 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.9209, allocations: 87.77 kB / 1.095 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.782e-05/0.921, allocations: 89.52 kB / 1.095 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005041/0.9215, allocations: 391.1 kB / 1.095 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.9215, allocations: 0 / 1.095 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9215, allocations: 0 / 1.095 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.9216, allocations: 0 / 1.095 GB, free: 14.81 MB / 0.8575 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.0008628/0.9224, allocations: 0.5921 MB / 1.096 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.9225, allocations: 8.031 kB / 1.096 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.3e-05/0.9225, allocations: 58.55 kB / 1.096 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.9237, allocations: 163.4 kB / 1.096 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.9241, allocations: 301.9 kB / 1.096 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.9242, allocations: 12.44 kB / 1.096 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.686e-05/0.9242, allocations: 24 kB / 1.096 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.9247, allocations: 283.4 kB / 1.097 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.9247, allocations: 0 / 1.097 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.9248, allocations: 11.94 kB / 1.097 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.9248, allocations: 4 kB / 1.097 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004128/0.9252, allocations: 211.8 kB / 1.097 GB, free: 13.05 MB / 0.8575 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.001377/0.9266, allocations: 1.217 MB / 1.098 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.9269, allocations: 138.5 kB / 1.098 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004136/0.9273, allocations: 141 kB / 1.098 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.9273, allocations: 30.56 kB / 1.098 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.9273, allocations: 0 / 1.098 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0007659/0.9281, allocations: 302.5 kB / 1.099 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.9281, allocations: 55.36 kB / 1.099 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.9285, allocations: 316.5 kB / 1.099 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.9285, allocations: 29.7 kB / 1.099 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.9287, allocations: 184.1 kB / 1.099 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.9287, allocations: 47.3 kB / 1.099 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.9287, allocations: 8 kB / 1.099 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.9289, allocations: 338.8 kB / 1.099 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.929, allocations: 67.94 kB / 1.1 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.9293, allocations: 127 kB / 1.1 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.9295, allocations: 83.95 kB / 1.1 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9295, allocations: 4 kB / 1.1 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004512/0.9299, allocations: 249.2 kB / 1.1 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.9299, allocations: 12.03 kB / 1.1 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.93, allocations: 4 kB / 1.1 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.93, allocations: 0 / 1.1 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.9302, allocations: 39.98 kB / 1.1 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.9302, allocations: 4 kB / 1.1 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.9304, allocations: 47.59 kB / 1.1 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.9305, allocations: 12 kB / 1.1 GB, free: 9.43 MB / 0.8575 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.0001511/0.9306, allocations: 157.8 kB / 1.1 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.9307, allocations: 23.72 kB / 1.1 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004751/0.9311, allocations: 238.3 kB / 1.1 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.9312, allocations: 0 / 1.1 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.9312, allocations: 3.938 kB / 1.101 GB, free: 9 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.9312, allocations: 0 / 1.101 GB, free: 9 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.9322, allocations: 0.6875 MB / 1.101 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.9323, allocations: 7.938 kB / 1.101 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.9324, allocations: 36.12 kB / 1.101 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.9325, allocations: 15.95 kB / 1.101 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.9325, allocations: 4 kB / 1.101 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.9325, allocations: 0 / 1.101 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.9325, allocations: 4 kB / 1.101 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007038/0.9332, allocations: 0.5204 MB / 1.102 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.9334, allocations: 128.7 kB / 1.102 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.176e-05/0.9334, allocations: 8.062 kB / 1.102 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.9336, allocations: 15.98 kB / 1.102 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.9337, allocations: 11.98 kB / 1.102 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.9337, allocations: 12 kB / 1.102 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000221/0.9339, allocations: 223 kB / 1.102 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9339, allocations: 7.938 kB / 1.102 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004047/0.9343, allocations: 79.84 kB / 1.102 GB, free: 7.07 MB / 0.8575 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.00142/0.9358, allocations: 1.604 MB / 1.104 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004234/0.9362, allocations: 182.8 kB / 1.104 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9362, allocations: 192 / 1.104 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.9364, allocations: 95.83 kB / 1.104 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007867/0.9372, allocations: 157.4 kB / 1.104 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.9401, allocations: 2.5 MB / 1.107 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.9405, allocations: 0.7836 MB / 1.107 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002357/0.9407, allocations: 62.92 kB / 1.107 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.9408, allocations: 91.41 kB / 1.108 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of SimCode: time 5.41e-07/0.9408, allocations: 0 / 1.108 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.9621, allocations: 8.204 MB / 1.116 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/0.9623, allocations: 213.6 kB / 1.116 GB, free: 9.191 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.902, allocations: 0 / 1.116 GB, free: 9.191 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat does not exist to compare? outputFormat=mat