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.0009133/0.000913, allocations: 91.86 kB / 15.36 MB, free: 0.7422 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.0067/0.0067, allocations: 179.3 kB / 16.26 MB, free: 6.605 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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002752/0.002752, allocations: 275 kB / 291.7 MB, free: 1.793 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9513/0.9513, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004516/0.0004515, allocations: 14.72 kB / 0.5986 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1828, allocations: 88.54 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.5994/0.7823, allocations: 171.4 MB / 0.8525 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009865/0.7923, allocations: 8.599 MB / 0.8609 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008397/0.7931, allocations: 19.84 kB / 0.861 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007829/0.7939, allocations: 234.9 kB / 0.8612 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008127/0.7948, allocations: 293.9 kB / 0.8615 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009981/0.7958, allocations: 336.6 kB / 0.8618 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001677/0.7974, allocations: 1.616 MB / 0.8634 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006721/0.7981, allocations: 0.4933 MB / 0.8638 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004716/0.8029, allocations: 1.897 MB / 0.8657 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004738/0.8033, allocations: 345.4 kB / 0.866 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.202e-05/0.8034, allocations: 18.94 kB / 0.866 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.8036, allocations: 69.61 kB / 0.8661 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.8039, allocations: 238.9 kB / 0.8663 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002742/0.8041, allocations: 284.4 kB / 0.8666 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000595/0.8048, allocations: 0.5782 MB / 0.8672 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8048, allocations: 0 / 0.8672 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8048, allocations: 4 kB / 0.8672 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.8048, allocations: 0 / 0.8672 GB, free: 1.473 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.001088/0.8059, allocations: 0.7206 MB / 0.8679 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.8059, allocations: 7.625 kB / 0.8679 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.806, allocations: 69.34 kB / 0.868 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/0.8066, allocations: 415.2 kB / 0.8684 GB, free: 468 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.8066, allocations: 41.17 kB / 0.8684 GB, free: 444 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.297e-05/0.8067, allocations: 55.41 kB / 0.8684 GB, free: 424 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.8077, allocations: 0.7091 MB / 0.8691 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.8077, allocations: 3.344 kB / 0.8691 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-05/0.8078, allocations: 21.75 kB / 0.8692 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/0.8078, allocations: 33.67 kB / 0.8692 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006108/0.8084, allocations: 393 kB / 0.8696 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/0.8109, allocations: 3.218 MB / 0.8727 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.8112, allocations: 229.1 kB / 0.8729 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.8114, allocations: 134.2 kB / 0.8731 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.8115, allocations: 6.891 kB / 0.8731 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/0.8115, allocations: 45.16 kB / 0.8731 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 2.304e-06/0.8115, allocations: 0 / 0.8731 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0008946/0.8124, allocations: 270.2 kB / 0.8734 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/0.8126, allocations: 290 kB / 0.8736 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006723/0.8133, allocations: 0.6901 MB / 0.8743 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.8133, allocations: 25.7 kB / 0.8743 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.8135, allocations: 269.9 kB / 0.8746 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.8136, allocations: 34.41 kB / 0.8746 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.8136, allocations: 14.81 kB / 0.8746 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.8137, allocations: 364.6 kB / 0.875 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.8138, allocations: 52.55 kB / 0.875 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.814, allocations: 101.7 kB / 0.8751 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.8143, allocations: 137.4 kB / 0.8753 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8143, allocations: 4 kB / 0.8753 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003349/0.8146, allocations: 202.3 kB / 0.8755 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.8146, allocations: 9.297 kB / 0.8755 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8147, allocations: 7.938 kB / 0.8755 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.8147, allocations: 2.906 kB / 0.8755 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.8149, allocations: 43.78 kB / 0.8755 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.8149, allocations: 12.67 kB / 0.8755 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.8151, allocations: 68.14 kB / 0.8756 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.8152, allocations: 5.375 kB / 0.8756 GB, free: 10.33 MB / 0.5919 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.0001901/0.8154, allocations: 198.4 kB / 0.8758 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.8156, allocations: 63.22 kB / 0.8759 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.197e-05/0.8157, allocations: 63.77 kB / 0.8759 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.8157, allocations: 1.719 kB / 0.8759 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.8157, allocations: 7.344 kB / 0.8759 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.8157, allocations: 2.875 kB / 0.8759 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.817, allocations: 1.311 MB / 0.8772 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.817, allocations: 0 / 0.8772 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.8172, allocations: 45.97 kB / 0.8773 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.8172, allocations: 6.828 kB / 0.8773 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.8172, allocations: 13.78 kB / 0.8773 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.8172, allocations: 3 kB / 0.8773 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.8172, allocations: 4.812 kB / 0.8773 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.8176, allocations: 342.2 kB / 0.8776 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.8178, allocations: 154 kB / 0.8778 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.8178, allocations: 9.922 kB / 0.8778 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.818, allocations: 15.14 kB / 0.8778 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.818, allocations: 17.69 kB / 0.8778 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.8181, allocations: 9.375 kB / 0.8778 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004833/0.8185, allocations: 0.4973 MB / 0.8783 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8186, allocations: 0 / 0.8783 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003545/0.8189, allocations: 86.09 kB / 0.8784 GB, free: 8.09 MB / 0.5919 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.0003033/0.8192, allocations: 132.6 kB / 0.8785 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.8195, allocations: 113.9 kB / 0.8786 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8196, allocations: 2.906 kB / 0.8786 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.8197, allocations: 71.12 kB / 0.8787 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.8212, allocations: 273.8 kB / 0.8789 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.8225, allocations: 1.026 MB / 0.8799 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/0.823, allocations: 0.9117 MB / 0.8808 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002551/0.8232, allocations: 101.1 kB / 0.8809 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/0.8233, allocations: 38.94 kB / 0.881 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.8233, allocations: 0 / 0.881 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of Templates: time 0.01482/0.8381, allocations: 8.008 MB / 0.8888 GB, free: 14.68 MB / 0.6075 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)