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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 100.3 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.0009509/0.0009511, 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.401/1.401, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.746/2.746, allocations: 409.2 MB / 0.6838 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003826, allocations: 12 kB / 0.8375 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6902/0.6906, allocations: 146.8 MB / 0.9809 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.166/0.8567, allocations: 140.2 MB / 1.118 GB, free: 9.801 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002845/0.8596, allocations: 1.572 MB / 1.119 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002894/0.8599, allocations: 15.88 kB / 1.119 GB, free: 8.211 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006667/0.8606, allocations: 171.2 kB / 1.119 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.8621, allocations: 0.5219 MB / 1.12 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.8635, allocations: 485.5 kB / 1.12 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0006546/0.8642, allocations: 431.5 kB / 1.121 GB, free: 6.629 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003642/0.8646, allocations: 185.2 kB / 1.121 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000741/0.8653, allocations: 347 kB / 1.121 GB, free: 6.113 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.8655, allocations: 151.3 kB / 1.121 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.8656, allocations: 12 kB / 1.122 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009862/0.8666, allocations: 419.3 kB / 1.122 GB, free: 5.543 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.8667, allocations: 99.7 kB / 1.122 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 8.297e-05/0.8668, allocations: 77.58 kB / 1.122 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0005571/0.8673, allocations: 395.1 kB / 1.122 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.8674, allocations: 0 / 1.122 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8674, allocations: 0 / 1.122 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.8674, allocations: 0 / 1.122 GB, free: 4.977 MB / 0.8731 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.0009272/0.8683, allocations: 0.5922 MB / 1.123 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.8684, allocations: 8.031 kB / 1.123 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.369e-05/0.8684, allocations: 58.55 kB / 1.123 GB, free: 4.262 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.8698, allocations: 163.4 kB / 1.123 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/0.8703, allocations: 293.9 kB / 1.124 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.8704, allocations: 24.33 kB / 1.124 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.8704, allocations: 23.94 kB / 1.124 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005119/0.8709, allocations: 275.5 kB / 1.124 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.871, allocations: 0 / 1.124 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.871, allocations: 12 kB / 1.124 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.871, allocations: 4 kB / 1.124 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.8715, allocations: 211.8 kB / 1.124 GB, free: 3.211 MB / 0.8731 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.001493/0.873, allocations: 1.217 MB / 1.125 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.8733, allocations: 142.5 kB / 1.125 GB, free: 1.742 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004618/0.8738, allocations: 137 kB / 1.126 GB, free: 1.59 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.8738, allocations: 42.45 kB / 1.126 GB, free: 1.539 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.863e-06/0.8738, allocations: 0 / 1.126 GB, free: 1.539 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0008014/0.8746, allocations: 300.5 kB / 1.126 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.8747, allocations: 51.41 kB / 1.126 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.875, allocations: 312.5 kB / 1.126 GB, free: 0.8672 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.875, allocations: 29.7 kB / 1.126 GB, free: 0.832 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.8752, allocations: 188 kB / 1.126 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/0.8752, allocations: 51.2 kB / 1.126 GB, free: 0.5938 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.297e-06/0.8752, allocations: 8 kB / 1.126 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.8754, allocations: 338.8 kB / 1.127 GB, free: 252 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.8756, allocations: 67.95 kB / 1.127 GB, free: 184 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.8758, allocations: 129.8 kB / 1.127 GB, free: 36 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.876, allocations: 79.95 kB / 1.127 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.876, allocations: 0 / 1.127 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004892/0.8765, allocations: 249.2 kB / 1.127 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.8765, allocations: 8 kB / 1.127 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.8765, allocations: 3.953 kB / 1.127 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.8766, allocations: 4 kB / 1.127 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.8768, allocations: 55.94 kB / 1.127 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.8768, allocations: 4 kB / 1.127 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.8771, allocations: 35.67 kB / 1.127 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.8771, allocations: 12 kB / 1.127 GB, free: 15.59 MB / 0.8887 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.0001527/0.8773, allocations: 149.8 kB / 1.128 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.8773, allocations: 35.62 kB / 1.128 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000479/0.8778, allocations: 220.3 kB / 1.128 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.8778, allocations: 7.891 kB / 1.128 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.8778, allocations: 4 kB / 1.128 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.8778, allocations: 0 / 1.128 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.8789, allocations: 0.6913 MB / 1.128 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.8789, allocations: 7.938 kB / 1.128 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.8791, allocations: 27.98 kB / 1.129 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.8791, allocations: 4 kB / 1.129 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.8791, allocations: 11.98 kB / 1.129 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.8792, allocations: 4 kB / 1.129 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.8792, allocations: 8.156 kB / 1.129 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007024/0.8799, allocations: 0.5103 MB / 1.129 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.88, allocations: 128.8 kB / 1.129 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.8801, allocations: 11.98 kB / 1.129 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.8803, allocations: 20.05 kB / 1.129 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.8804, allocations: 19.88 kB / 1.129 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.8804, allocations: 8 kB / 1.129 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002047/0.8806, allocations: 223 kB / 1.129 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8806, allocations: 0 / 1.129 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003952/0.881, allocations: 79.84 kB / 1.129 GB, free: 13.24 MB / 0.8887 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.001436/0.8824, allocations: 1.601 MB / 1.131 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004523/0.8829, allocations: 179.7 kB / 1.131 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8829, allocations: 0 / 1.131 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.8831, allocations: 100.4 kB / 1.131 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000834/0.884, allocations: 151.6 kB / 1.131 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.8869, allocations: 2.512 MB / 1.134 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.8873, allocations: 0.7875 MB / 1.135 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002607/0.8876, allocations: 58.94 kB / 1.135 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.8878, allocations: 79.42 kB / 1.135 GB, free: 7.605 MB / 0.8887 GB Notification: Performance of SimCode: time 1.202e-06/0.8878, allocations: 0 / 1.135 GB, free: 7.605 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4502/1.338, allocations: 8.214 MB / 1.143 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003731/1.338, allocations: 217.6 kB / 1.143 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.542/3.881, allocations: 0 / 1.143 GB, free: 15.37 MB / 0.9044 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) Environment - environmentSimulation: 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