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.001374/0.001374, allocations: 108.6 kB / 16.41 MB, free: 6.027 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.001412/0.001412, allocations: 188.7 kB / 17.34 MB, free: 5.633 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002221/0.002221, allocations: 285.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9356/0.9356, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 95.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4656/0.4675, allocations: 86.97 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.1866/0.6542, allocations: 176 MB / 0.9389 GB, free: 3.25 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01157/0.6658, allocations: 8.716 MB / 0.9474 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009111/0.6668, allocations: 23.88 kB / 0.9474 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.6678, allocations: 293.8 kB / 0.9477 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.6689, allocations: 310.4 kB / 0.948 GB, free: 9.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.6701, allocations: 372.8 kB / 0.9484 GB, free: 9.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001365/0.6715, allocations: 1.148 MB / 0.9495 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008891/0.6724, allocations: 0.5983 MB / 0.9501 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004588/0.6769, allocations: 2.058 MB / 0.9521 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004952/0.6775, allocations: 350.5 kB / 0.9524 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.631e-05/0.6775, allocations: 40 kB / 0.9525 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/0.6778, allocations: 83.89 kB / 0.9525 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.678, allocations: 255.3 kB / 0.9528 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002647/0.6783, allocations: 286.5 kB / 0.953 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006604/0.6789, allocations: 0.65 MB / 0.9537 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.679, allocations: 0 / 0.9537 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.605e-06/0.679, allocations: 4 kB / 0.9537 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.679, allocations: 0 / 0.9537 GB, free: 4.066 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.0009937/0.68, allocations: 0.8184 MB / 0.9545 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.68, allocations: 8.031 kB / 0.9545 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.6801, allocations: 75.09 kB / 0.9546 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000793/0.6809, allocations: 442.2 kB / 0.955 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.681, allocations: 41.3 kB / 0.955 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.041e-05/0.681, allocations: 52 kB / 0.9551 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.6821, allocations: 0.7066 MB / 0.9558 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.6821, allocations: 3.938 kB / 0.9558 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.6822, allocations: 24 kB / 0.9558 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.994e-05/0.6822, allocations: 39.86 kB / 0.9558 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006861/0.6829, allocations: 375.4 kB / 0.9562 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.389/1.072, allocations: 3.206 MB / 0.9593 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/1.072, allocations: 219.1 kB / 0.9595 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/1.072, allocations: 130.9 kB / 0.9597 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/1.073, allocations: 6.688 kB / 0.9597 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/1.073, allocations: 50.84 kB / 0.9597 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 2.625e-06/1.073, allocations: 0 / 0.9597 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0007789/1.073, allocations: 244.3 kB / 0.9599 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/1.073, allocations: 294.4 kB / 0.9602 GB, free: 190 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000982/1.074, allocations: 0.6834 MB / 0.9609 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/1.074, allocations: 31.58 kB / 0.9609 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/1.075, allocations: 269.1 kB / 0.9612 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/1.075, allocations: 34.62 kB / 0.9612 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.39e-05/1.075, allocations: 32.12 kB / 0.9612 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.075, allocations: 371.7 kB / 0.9616 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/1.075, allocations: 33.56 kB / 0.9616 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/1.075, allocations: 98.88 kB / 0.9617 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/1.075, allocations: 129.3 kB / 0.9618 GB, free: 189 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.075, allocations: 2.406 kB / 0.9618 GB, free: 189 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004107/1.076, allocations: 188.9 kB / 0.962 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/1.076, allocations: 9.688 kB / 0.962 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.076, allocations: 1.562 kB / 0.962 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/1.076, allocations: 4.609 kB / 0.962 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/1.076, allocations: 48.94 kB / 0.9621 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/1.076, allocations: 2.219 kB / 0.9621 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/1.077, allocations: 51.73 kB / 0.9621 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/1.077, allocations: 6.844 kB / 0.9621 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.0002024/1.077, allocations: 200.6 kB / 0.9623 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/1.077, allocations: 66.95 kB / 0.9624 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.15e-05/1.077, allocations: 57.94 kB / 0.9625 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.077, allocations: 4.578 kB / 0.9625 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.077, allocations: 3.125 kB / 0.9625 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/1.077, allocations: 6.844 kB / 0.9625 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/1.078, allocations: 1.307 MB / 0.9637 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.078, allocations: 3.375 kB / 0.9638 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/1.079, allocations: 42.83 kB / 0.9638 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/1.079, allocations: 2.812 kB / 0.9638 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/1.079, allocations: 6.078 kB / 0.9638 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/1.079, allocations: 12.19 kB / 0.9638 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.079, allocations: 7.406 kB / 0.9638 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/1.079, allocations: 327.2 kB / 0.9641 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/1.079, allocations: 148.3 kB / 0.9643 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.678e-05/1.079, allocations: 5.578 kB / 0.9643 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/1.079, allocations: 16.28 kB / 0.9643 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/1.079, allocations: 16.58 kB / 0.9643 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/1.079, allocations: 4.625 kB / 0.9643 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000546/1.08, allocations: 0.4951 MB / 0.9648 GB, free: 187 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.08, allocations: 0 / 0.9648 GB, free: 187 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003887/1.08, allocations: 81.27 kB / 0.9649 GB, free: 186.9 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.0003043/1.081, allocations: 131.8 kB / 0.965 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003175/1.081, allocations: 119.6 kB / 0.9651 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.081, allocations: 3.344 kB / 0.9651 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/1.081, allocations: 59.72 kB / 0.9652 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/1.082, allocations: 280.5 kB / 0.9654 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/1.084, allocations: 0.9272 MB / 0.9663 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/1.084, allocations: 0.9046 MB / 0.9672 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.25e-05/1.084, allocations: 35 kB / 0.9673 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/1.084, allocations: 0 / 0.9673 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.009683/1.094, allocations: 7.855 MB / 0.9749 GB, free: 181 MB / 0.7169 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)