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.000965/0.000965, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00104/0.00104, allocations: 172.7 kB / 15.95 MB, free: 208 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.322/1.322, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001797/0.001797, allocations: 277.8 kB / 291.4 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9775/0.9775, allocations: 169.5 MB / 0.5 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003922, allocations: 13.91 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1372, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.4259/0.5632, allocations: 159.9 MB / 0.8407 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008949/0.5722, allocations: 8.07 MB / 0.8485 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006024/0.5728, allocations: 16.59 kB / 0.8486 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006619/0.5735, allocations: 215 kB / 0.8488 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007083/0.5742, allocations: 283.7 kB / 0.849 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008372/0.5751, allocations: 304.4 kB / 0.8493 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001334/0.5764, allocations: 1.369 MB / 0.8507 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006403/0.5771, allocations: 426.9 kB / 0.8511 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003314/0.5804, allocations: 1.493 MB / 0.8525 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004553/0.5809, allocations: 318.4 kB / 0.8528 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.5809, allocations: 21.78 kB / 0.8528 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.5811, allocations: 61.67 kB / 0.8529 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.5814, allocations: 227.1 kB / 0.8531 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.5815, allocations: 133.2 kB / 0.8532 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004191/0.5819, allocations: 464.2 kB / 0.8537 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5819, allocations: 0 / 0.8537 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5819, allocations: 0 / 0.8537 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.582, allocations: 0 / 0.8537 GB, free: 12.16 MB / 0.5762 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.0008868/0.5829, allocations: 0.723 MB / 0.8544 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.5829, allocations: 10.84 kB / 0.8544 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.583, allocations: 68.94 kB / 0.8545 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.5835, allocations: 396.5 kB / 0.8549 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.5835, allocations: 39.5 kB / 0.8549 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/0.5836, allocations: 56.14 kB / 0.8549 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009923/0.5846, allocations: 0.7039 MB / 0.8556 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.5846, allocations: 6.75 kB / 0.8556 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/0.5847, allocations: 32.97 kB / 0.8557 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.606e-05/0.5847, allocations: 32.64 kB / 0.8557 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006062/0.5854, allocations: 383.6 kB / 0.8561 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.5878, allocations: 3.22 MB / 0.8592 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.5881, allocations: 229 kB / 0.8594 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.5883, allocations: 135 kB / 0.8596 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.5883, allocations: 6.719 kB / 0.8596 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.5883, allocations: 49 kB / 0.8596 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.874e-06/0.5884, allocations: 0 / 0.8596 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0007/0.5891, allocations: 263.1 kB / 0.8599 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.5892, allocations: 297.3 kB / 0.8601 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007826/0.59, allocations: 0.6844 MB / 0.8608 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.59, allocations: 28.77 kB / 0.8608 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.5902, allocations: 268.7 kB / 0.8611 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.5903, allocations: 34.33 kB / 0.8611 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.5903, allocations: 2.531 kB / 0.8611 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.5905, allocations: 373 kB / 0.8615 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.5906, allocations: 40.59 kB / 0.8615 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.5907, allocations: 104.5 kB / 0.8616 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.5909, allocations: 47.53 kB / 0.8617 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5909, allocations: 0 / 0.8617 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003655/0.5912, allocations: 202.3 kB / 0.8619 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.5913, allocations: 5.5 kB / 0.8619 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5913, allocations: 2.906 kB / 0.8619 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.5913, allocations: 2.844 kB / 0.8619 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.5915, allocations: 51.83 kB / 0.8619 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.5915, allocations: 6.375 kB / 0.8619 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.5918, allocations: 73.53 kB / 0.862 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.5918, allocations: 7.688 kB / 0.862 GB, free: 5.117 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001936/0.592, allocations: 202.4 kB / 0.8622 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.5922, allocations: 54.84 kB / 0.8623 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.127e-05/0.5923, allocations: 56.98 kB / 0.8623 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.5923, allocations: 5.062 kB / 0.8623 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5923, allocations: 2.938 kB / 0.8623 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.5923, allocations: 7.422 kB / 0.8623 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.5937, allocations: 1.3 MB / 0.8636 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.5937, allocations: 10.97 kB / 0.8636 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.5939, allocations: 51.44 kB / 0.8636 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5939, allocations: 6.188 kB / 0.8637 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.5939, allocations: 6.688 kB / 0.8637 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.5939, allocations: 5.844 kB / 0.8637 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.5939, allocations: 7 kB / 0.8637 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.5943, allocations: 340.3 kB / 0.864 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.5944, allocations: 146.1 kB / 0.8641 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.887e-05/0.5945, allocations: 12.55 kB / 0.8641 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.5947, allocations: 15.52 kB / 0.8642 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.5947, allocations: 21.42 kB / 0.8642 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.5948, allocations: 5.781 kB / 0.8642 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005017/0.5953, allocations: 499.4 kB / 0.8647 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.5953, allocations: 4 kB / 0.8647 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003715/0.5956, allocations: 85.72 kB / 0.8648 GB, free: 2.891 MB / 0.5762 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 (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.0002819/0.5959, allocations: 134.2 kB / 0.8649 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002769/0.5962, allocations: 116 kB / 0.865 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5962, allocations: 0 / 0.865 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.5964, allocations: 70.78 kB / 0.8651 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.5976, allocations: 277.4 kB / 0.8653 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.5988, allocations: 0.9713 MB / 0.8663 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.5992, allocations: 0.9012 MB / 0.8672 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002454/0.5995, allocations: 111.1 kB / 0.8673 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.5995, allocations: 34.62 kB / 0.8673 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.5995, allocations: 2.625 kB / 0.8673 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of Templates: time 0.01278/0.6123, allocations: 7.773 MB / 0.8749 GB, free: 12.75 MB / 0.5919 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)