Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0013/0.001301, allocations: 103.2 kB / 16.36 MB, free: 6.348 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.001048/0.001048, allocations: 194.2 kB / 17.3 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.935/1.935, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001474, allocations: 67.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2849, allocations: 114.5 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.6592/0.9441, allocations: 176 MB / 0.9566 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.9552, allocations: 8.706 MB / 0.9651 GB, free: 1.316 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008709/0.9561, allocations: 19.88 kB / 0.9652 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.000834/0.957, allocations: 305.7 kB / 0.9655 GB, free: 0.9961 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0008092/0.9578, allocations: 298.4 kB / 0.9657 GB, free: 0.7031 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.959, allocations: 380.1 kB / 0.9661 GB, free: 344 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001245/0.9602, allocations: 1.156 MB / 0.9672 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008012/0.961, allocations: 0.5842 MB / 0.9678 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004893/0.9659, allocations: 2.059 MB / 0.9698 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005103/0.9664, allocations: 358.4 kB / 0.9702 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.302e-05/0.9665, allocations: 44 kB / 0.9702 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.9668, allocations: 71.97 kB / 0.9703 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.000252/0.967, allocations: 255.4 kB / 0.9705 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.9673, allocations: 290.5 kB / 0.9708 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0006823/0.968, allocations: 0.6344 MB / 0.9714 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.968, allocations: 3.984 kB / 0.9714 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.964e-06/0.968, allocations: 0 / 0.9714 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.9681, allocations: 0 / 0.9714 GB, free: 10.88 MB / 0.7637 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.001143/0.9692, allocations: 0.8367 MB / 0.9722 GB, free: 9.996 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.9693, allocations: 8.031 kB / 0.9722 GB, free: 9.988 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.9694, allocations: 67.19 kB / 0.9723 GB, free: 9.922 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007178/0.9701, allocations: 442.2 kB / 0.9727 GB, free: 9.445 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/0.9702, allocations: 47.27 kB / 0.9728 GB, free: 9.402 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.947e-05/0.9702, allocations: 55.98 kB / 0.9728 GB, free: 9.348 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000981/0.9712, allocations: 0.6988 MB / 0.9735 GB, free: 8.566 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.9713, allocations: 0 / 0.9735 GB, free: 8.566 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.9713, allocations: 24 kB / 0.9735 GB, free: 8.543 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.298e-05/0.9714, allocations: 35.86 kB / 0.9736 GB, free: 8.508 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006134/0.972, allocations: 379.4 kB / 0.9739 GB, free: 8.137 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002566/0.9746, allocations: 3.211 MB / 0.9771 GB, free: 4.781 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.9748, allocations: 226.1 kB / 0.9773 GB, free: 4.469 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.975, allocations: 129.3 kB / 0.9774 GB, free: 4.312 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.9751, allocations: 3.938 kB / 0.9774 GB, free: 4.309 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.9751, allocations: 46.5 kB / 0.9774 GB, free: 4.254 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.9751, allocations: 0 / 0.9774 GB, free: 4.254 MB / 0.7637 GB Notification: Performance of matching and sorting (n=10): time 0.0006896/0.9758, allocations: 249.7 kB / 0.9777 GB, free: 4.004 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.976, allocations: 294.7 kB / 0.978 GB, free: 3.648 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007294/0.9767, allocations: 0.6839 MB / 0.9786 GB, free: 2.957 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.9767, allocations: 25.7 kB / 0.9787 GB, free: 2.926 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.9769, allocations: 268.4 kB / 0.9789 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.977, allocations: 43.73 kB / 0.9789 GB, free: 2.617 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/0.977, allocations: 25.7 kB / 0.979 GB, free: 2.586 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.9772, allocations: 370.7 kB / 0.9793 GB, free: 2.215 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.9773, allocations: 37.19 kB / 0.9794 GB, free: 2.18 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.9775, allocations: 97.09 kB / 0.9795 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.9778, allocations: 132.5 kB / 0.9796 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.9778, allocations: 4 kB / 0.9796 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003498/0.9781, allocations: 184.8 kB / 0.9798 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.9782, allocations: 8 kB / 0.9798 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.9782, allocations: 0 / 0.9798 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.9782, allocations: 8.875 kB / 0.9798 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.9785, allocations: 40.14 kB / 0.9798 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.9785, allocations: 4 kB / 0.9798 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.9787, allocations: 55.27 kB / 0.9799 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.9788, allocations: 12 kB / 0.9799 GB, free: 1.605 MB / 0.7637 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.0002187/0.979, allocations: 202.8 kB / 0.9801 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.9792, allocations: 59.25 kB / 0.9801 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.296e-05/0.9793, allocations: 64.27 kB / 0.9802 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.9793, allocations: 8 kB / 0.9802 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.9793, allocations: 4 kB / 0.9802 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.9793, allocations: 9.391 kB / 0.9802 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.9807, allocations: 1.297 MB / 0.9815 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.9807, allocations: 4 kB / 0.9815 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.9809, allocations: 39.95 kB / 0.9815 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.9809, allocations: 0 / 0.9815 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.9809, allocations: 4 kB / 0.9815 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.981, allocations: 4.281 kB / 0.9815 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.981, allocations: 11.94 kB / 0.9815 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.9814, allocations: 334.3 kB / 0.9819 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.9815, allocations: 150.2 kB / 0.982 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.462e-05/0.9816, allocations: 7.984 kB / 0.982 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.9818, allocations: 8 kB / 0.982 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.394e-05/0.9818, allocations: 23.86 kB / 0.982 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.9819, allocations: 4 kB / 0.982 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005521/0.9824, allocations: 0.4912 MB / 0.9825 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9824, allocations: 0 / 0.9825 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003882/0.9828, allocations: 87.91 kB / 0.9826 GB, free: 14.66 MB / 0.7794 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.0003636/0.9832, allocations: 149.8 kB / 0.9828 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003145/0.9835, allocations: 102.2 kB / 0.9829 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.9835, allocations: 4 kB / 0.9829 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.9837, allocations: 64.77 kB / 0.9829 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.985, allocations: 282.8 kB / 0.9832 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.9862, allocations: 0.9232 MB / 0.9841 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/0.9867, allocations: 0.905 MB / 0.985 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.522e-05/0.9868, allocations: 35.44 kB / 0.985 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.9868, allocations: 0 / 0.985 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of Templates: time 0.01185/0.9987, allocations: 7.785 MB / 0.9926 GB, free: 4.551 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)