Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",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.004526/0.004526, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.00127/0.00127, allocations: 189.5 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00246/0.00246, allocations: 296.9 kB / 290.8 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.963/0.963, allocations: 169.2 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002617/0.002617, allocations: 107.8 kB / 0.681 GB, free: 7.453 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3727, allocations: 86.97 MB / 0.7659 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.1873/0.56, allocations: 176 MB / 0.9378 GB, free: 3.184 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01007/0.5701, allocations: 8.719 MB / 0.9463 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006188/0.5708, allocations: 23.81 kB / 0.9463 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007172/0.5715, allocations: 301.8 kB / 0.9466 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006607/0.5722, allocations: 302.4 kB / 0.9469 GB, free: 9.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009417/0.5732, allocations: 382.5 kB / 0.9472 GB, free: 9.457 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00118/0.5744, allocations: 1.148 MB / 0.9484 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007797/0.5752, allocations: 0.5898 MB / 0.9489 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004141/0.5793, allocations: 2.062 MB / 0.9509 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000431/0.5798, allocations: 350.4 kB / 0.9513 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.261e-05/0.5798, allocations: 40 kB / 0.9513 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.58, allocations: 75.97 kB / 0.9514 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.5803, allocations: 259.3 kB / 0.9516 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002749/0.5806, allocations: 286.5 kB / 0.9519 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006953/0.5813, allocations: 0.6491 MB / 0.9525 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5813, allocations: 0 / 0.9525 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5813, allocations: 0 / 0.9525 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.5813, allocations: 4 kB / 0.9525 GB, free: 4 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001044/0.5823, allocations: 0.8372 MB / 0.9534 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.5824, allocations: 12.03 kB / 0.9534 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.5825, allocations: 98.5 kB / 0.9535 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.5826, allocations: 71.52 kB / 0.9535 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006709/0.5833, allocations: 450.4 kB / 0.954 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.767e-05/0.5833, allocations: 45.3 kB / 0.954 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.32e-05/0.5834, allocations: 52 kB / 0.9541 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009857/0.5844, allocations: 0.7066 MB / 0.9548 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.5844, allocations: 11.92 kB / 0.9548 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.5845, allocations: 23.92 kB / 0.9548 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-05/0.5845, allocations: 31.98 kB / 0.9548 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006282/0.5852, allocations: 367.4 kB / 0.9552 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2765/0.8617, allocations: 3.229 MB / 0.9583 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.862, allocations: 216.1 kB / 0.9585 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.8622, allocations: 132.7 kB / 0.9587 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.8622, allocations: 4.688 kB / 0.9587 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.8622, allocations: 44.67 kB / 0.9587 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 2.515e-06/0.8622, allocations: 0 / 0.9587 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0007582/0.863, allocations: 253.2 kB / 0.9589 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.8631, allocations: 291 kB / 0.9592 GB, free: 190 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009664/0.864, allocations: 0.6836 MB / 0.9599 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.8641, allocations: 31.3 kB / 0.9599 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.8643, allocations: 269 kB / 0.9602 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.8643, allocations: 36.03 kB / 0.9602 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-05/0.8644, allocations: 32.25 kB / 0.9602 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.8645, allocations: 375.5 kB / 0.9606 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.8647, allocations: 33.16 kB / 0.9606 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.8649, allocations: 100 kB / 0.9607 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.8651, allocations: 129.9 kB / 0.9608 GB, free: 189 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8652, allocations: 0.5 kB / 0.9608 GB, free: 189 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004513/0.8656, allocations: 186.9 kB / 0.961 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.8656, allocations: 9.406 kB / 0.961 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.8657, allocations: 5.234 kB / 0.961 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.8657, allocations: 2.5 kB / 0.961 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.8659, allocations: 46.39 kB / 0.9611 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.8659, allocations: 1.672 kB / 0.9611 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.8662, allocations: 56.62 kB / 0.9611 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.8662, allocations: 10.36 kB / 0.9612 GB, free: 188.9 MB / 0.7169 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002268/0.8665, allocations: 204 kB / 0.9613 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.8667, allocations: 61.48 kB / 0.9614 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.8668, allocations: 59 kB / 0.9615 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.8668, allocations: 3.875 kB / 0.9615 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.8668, allocations: 2.781 kB / 0.9615 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.8669, allocations: 8.078 kB / 0.9615 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.8682, allocations: 1.304 MB / 0.9627 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.8683, allocations: 1.5 kB / 0.9628 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.8685, allocations: 43.34 kB / 0.9628 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.8685, allocations: 6.781 kB / 0.9628 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.8685, allocations: 7.969 kB / 0.9628 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.8685, allocations: 7.516 kB / 0.9628 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8685, allocations: 2.688 kB / 0.9628 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.8688, allocations: 336.1 kB / 0.9631 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.869, allocations: 157.3 kB / 0.9633 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.529e-05/0.869, allocations: 4.938 kB / 0.9633 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.8692, allocations: 15.92 kB / 0.9633 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.8693, allocations: 15.7 kB / 0.9633 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.8693, allocations: 4.281 kB / 0.9633 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005117/0.8698, allocations: 0.4948 MB / 0.9638 GB, free: 187 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8698, allocations: 0 / 0.9638 GB, free: 187 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004821/0.8703, allocations: 87.22 kB / 0.9639 GB, free: 187 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006512/0.8709, allocations: 0.9098 MB / 0.9648 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.8712, allocations: 109.1 kB / 0.9649 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8713, allocations: 1.156 kB / 0.9649 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.8714, allocations: 59.67 kB / 0.9649 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.8727, allocations: 282.6 kB / 0.9652 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004762/0.8774, allocations: 4.452 MB / 0.9696 GB, free: 183.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.8777, allocations: 0.9079 MB / 0.9704 GB, free: 183 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002447/0.878, allocations: 108.2 kB / 0.9705 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.8781, allocations: 177.4 kB / 0.9707 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.8782, allocations: 0 / 0.9707 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04959/0.9277, allocations: 13.61 MB / 0.984 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/9.107, allocations: 14.64 kB / 0.984 GB, free: 170.6 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)