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: translateModel(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h") translateModel(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 104.1 kB / 16.35 MB, free: 5.879 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.001644/0.001643, allocations: 194.2 kB / 17.3 MB, free: 5.52 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 300.7 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.2 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 90.05 kB / 0.5966 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1682, allocations: 86.98 MB / 0.6816 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.4716/0.6398, allocations: 176 MB / 0.8534 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01002/0.6499, allocations: 8.708 MB / 0.8619 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006949/0.6506, allocations: 19.88 kB / 0.862 GB, free: 5.801 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009052/0.6516, allocations: 305.8 kB / 0.8623 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0008862/0.6525, allocations: 298.4 kB / 0.8625 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.6536, allocations: 387 kB / 0.8629 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001345/0.655, allocations: 1.152 MB / 0.864 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009121/0.6559, allocations: 0.5869 MB / 0.8646 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004943/0.6608, allocations: 2.066 MB / 0.8666 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00063/0.6615, allocations: 342.5 kB / 0.8669 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.6616, allocations: 43.98 kB / 0.867 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003108/0.6619, allocations: 83.89 kB / 0.8671 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002737/0.6622, allocations: 255.4 kB / 0.8673 GB, free: 312 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003495/0.6626, allocations: 278.5 kB / 0.8676 GB, free: 32 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000748/0.6633, allocations: 0.65 MB / 0.8682 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.6633, allocations: 0 / 0.8682 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6633, allocations: 0 / 0.8682 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.311e-05/0.6634, allocations: 0 / 0.8682 GB, free: 15.38 MB / 0.6387 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.001269/0.6646, allocations: 0.823 MB / 0.869 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.6647, allocations: 8.031 kB / 0.869 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.6648, allocations: 71.17 kB / 0.8691 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007898/0.6656, allocations: 454 kB / 0.8695 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.6657, allocations: 37.31 kB / 0.8696 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.437e-05/0.6658, allocations: 55.98 kB / 0.8696 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.6668, allocations: 0.7027 MB / 0.8703 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.6668, allocations: 7.875 kB / 0.8703 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/0.6669, allocations: 24 kB / 0.8703 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-05/0.6669, allocations: 31.92 kB / 0.8704 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006573/0.6676, allocations: 383.8 kB / 0.8707 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002774/0.6704, allocations: 3.204 MB / 0.8739 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.6707, allocations: 226 kB / 0.8741 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.6709, allocations: 120.6 kB / 0.8742 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.6709, allocations: 7.984 kB / 0.8742 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.6709, allocations: 44.62 kB / 0.8742 GB, free: 8.766 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 1.894e-06/0.6709, allocations: 4 kB / 0.8742 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.000752/0.6717, allocations: 253.7 kB / 0.8745 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.6718, allocations: 294.8 kB / 0.8748 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007732/0.6726, allocations: 0.6838 MB / 0.8754 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.6726, allocations: 33.64 kB / 0.8755 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.6728, allocations: 264.2 kB / 0.8757 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.6729, allocations: 35.55 kB / 0.8758 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.673, allocations: 26.05 kB / 0.8758 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.6731, allocations: 370.8 kB / 0.8761 GB, free: 6.719 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.6732, allocations: 35.97 kB / 0.8762 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.6734, allocations: 101 kB / 0.8763 GB, free: 6.566 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.6737, allocations: 121 kB / 0.8764 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6737, allocations: 0 / 0.8764 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003546/0.674, allocations: 196.8 kB / 0.8766 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.674, allocations: 8 kB / 0.8766 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.6741, allocations: 0 / 0.8766 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.6741, allocations: 11.88 kB / 0.8766 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.6743, allocations: 39.95 kB / 0.8766 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.6743, allocations: 4 kB / 0.8766 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.6745, allocations: 51.36 kB / 0.8767 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.6746, allocations: 12.09 kB / 0.8767 GB, free: 6.105 MB / 0.6387 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.0002015/0.6748, allocations: 201.7 kB / 0.8769 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.675, allocations: 63.23 kB / 0.8769 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.499e-05/0.6751, allocations: 60.27 kB / 0.877 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.6751, allocations: 4 kB / 0.877 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.6751, allocations: 4 kB / 0.877 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.6751, allocations: 7.984 kB / 0.877 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.6768, allocations: 1.299 MB / 0.8783 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.6768, allocations: 12.27 kB / 0.8783 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.677, allocations: 47.84 kB / 0.8783 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.677, allocations: 0 / 0.8783 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.677, allocations: 4 kB / 0.8783 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.677, allocations: 7.984 kB / 0.8783 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6771, allocations: 4 kB / 0.8784 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004501/0.6775, allocations: 338.4 kB / 0.8787 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/0.6777, allocations: 148.3 kB / 0.8788 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.302e-05/0.6778, allocations: 0 / 0.8788 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.678, allocations: 15.98 kB / 0.8788 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.678, allocations: 11.92 kB / 0.8788 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.6781, allocations: 4 kB / 0.8788 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006353/0.6787, allocations: 0.499 MB / 0.8793 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.01e-07/0.6787, allocations: 0 / 0.8793 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004316/0.6792, allocations: 87.84 kB / 0.8794 GB, free: 3.148 MB / 0.6387 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.000393/0.6796, allocations: 132.7 kB / 0.8795 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003613/0.6799, allocations: 111.7 kB / 0.8797 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.6799, allocations: 4 kB / 0.8797 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.6801, allocations: 59.83 kB / 0.8797 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.6813, allocations: 292.7 kB / 0.88 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.6826, allocations: 0.8693 MB / 0.8808 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.6832, allocations: 0.905 MB / 0.8817 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000284/0.6835, allocations: 104.6 kB / 0.8818 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.762e-05/0.6836, allocations: 31.44 kB / 0.8819 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of SimCode: time 6.11e-07/0.6836, allocations: 4 kB / 0.8819 GB, free: 0.5781 MB / 0.6387 GB Notification: Performance of Templates: time 0.01574/0.6993, allocations: 8.414 MB / 0.8901 GB, free: 8.309 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)