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.001104/0.001104, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00117/0.00117, allocations: 192.6 kB / 16.25 MB, free: 6.629 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.362/1.362, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002014/0.002014, allocations: 283.6 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9433/0.9433, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 96.48 kB / 0.5947 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1739, allocations: 86.99 MB / 0.6796 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.5481/0.7221, allocations: 173.6 MB / 0.8492 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009639/0.7318, allocations: 8.629 MB / 0.8576 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009941/0.7328, allocations: 16.09 kB / 0.8576 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008487/0.7337, allocations: 256.3 kB / 0.8579 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008198/0.7345, allocations: 279.3 kB / 0.8581 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009836/0.7355, allocations: 352.1 kB / 0.8585 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001159/0.7367, allocations: 1.147 MB / 0.8596 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007326/0.7374, allocations: 0.55 MB / 0.8601 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00511/0.7426, allocations: 1.999 MB / 0.8621 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005739/0.7432, allocations: 376 kB / 0.8624 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.514e-05/0.7432, allocations: 38.03 kB / 0.8625 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002532/0.7435, allocations: 75.91 kB / 0.8626 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.7438, allocations: 265 kB / 0.8628 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003003/0.7441, allocations: 283.5 kB / 0.8631 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007267/0.7448, allocations: 0.6263 MB / 0.8637 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.7448, allocations: 4 kB / 0.8637 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7448, allocations: 0 / 0.8637 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.7449, allocations: 0 / 0.8637 GB, free: 3.09 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.001026/0.7459, allocations: 0.8158 MB / 0.8645 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.7459, allocations: 9.406 kB / 0.8645 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.7461, allocations: 70.41 kB / 0.8646 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005459/0.7466, allocations: 423.4 kB / 0.865 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/0.7467, allocations: 37.12 kB / 0.865 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-05/0.7467, allocations: 55.94 kB / 0.8651 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.7478, allocations: 0.7086 MB / 0.8658 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.7478, allocations: 7.938 kB / 0.8658 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.7479, allocations: 19.69 kB / 0.8658 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.468e-05/0.7479, allocations: 38.52 kB / 0.8658 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006263/0.7486, allocations: 366.3 kB / 0.8662 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002995/0.7516, allocations: 3.232 MB / 0.8693 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.7519, allocations: 223.7 kB / 0.8695 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.7521, allocations: 129.6 kB / 0.8697 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.7521, allocations: 3.938 kB / 0.8697 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/0.7522, allocations: 47.34 kB / 0.8697 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.904e-06/0.7522, allocations: 0 / 0.8697 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.000707/0.7529, allocations: 254.3 kB / 0.8699 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/0.7531, allocations: 293.4 kB / 0.8702 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007405/0.7538, allocations: 0.6833 MB / 0.8709 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.7539, allocations: 32.11 kB / 0.8709 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.7541, allocations: 264.9 kB / 0.8712 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.574e-05/0.7541, allocations: 29.95 kB / 0.8712 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.7542, allocations: 34.47 kB / 0.8712 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.7544, allocations: 369.4 kB / 0.8716 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.7545, allocations: 32.62 kB / 0.8716 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.7547, allocations: 94.16 kB / 0.8717 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.7549, allocations: 135.8 kB / 0.8718 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.755, allocations: 0 / 0.8718 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003433/0.7553, allocations: 188.2 kB / 0.872 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.7553, allocations: 6.812 kB / 0.872 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.7554, allocations: 2.531 kB / 0.872 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.7554, allocations: 3.938 kB / 0.872 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.7556, allocations: 48.64 kB / 0.8721 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.7556, allocations: 4.812 kB / 0.8721 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.7559, allocations: 59.39 kB / 0.8721 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.756, allocations: 13.33 kB / 0.8722 GB, free: 11.88 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.0002136/0.7562, allocations: 201.1 kB / 0.8723 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.7564, allocations: 57.59 kB / 0.8724 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.328e-05/0.7565, allocations: 66.88 kB / 0.8725 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.7565, allocations: 5.062 kB / 0.8725 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.7565, allocations: 1.781 kB / 0.8725 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.7565, allocations: 2.719 kB / 0.8725 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.7579, allocations: 1.299 MB / 0.8737 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.7579, allocations: 2.156 kB / 0.8737 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.7581, allocations: 50.16 kB / 0.8738 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.7581, allocations: 6.688 kB / 0.8738 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.7581, allocations: 2.625 kB / 0.8738 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.7581, allocations: 6.781 kB / 0.8738 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7581, allocations: 1.812 kB / 0.8738 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.7585, allocations: 341.9 kB / 0.8741 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.7586, allocations: 149.5 kB / 0.8743 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.677e-05/0.7587, allocations: 6.188 kB / 0.8743 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.7589, allocations: 22.14 kB / 0.8743 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.759, allocations: 12.7 kB / 0.8743 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.759, allocations: 7.438 kB / 0.8743 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005288/0.7595, allocations: 0.4928 MB / 0.8748 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7595, allocations: 0 / 0.8748 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000404/0.7599, allocations: 88.94 kB / 0.8749 GB, free: 9.656 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.0003728/0.7603, allocations: 141.8 kB / 0.875 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003324/0.7606, allocations: 105.4 kB / 0.8751 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.7607, allocations: 384 / 0.8751 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.7608, allocations: 67.05 kB / 0.8752 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.7621, allocations: 288 kB / 0.8755 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.7634, allocations: 1.002 MB / 0.8764 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.7639, allocations: 0.9038 MB / 0.8773 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002488/0.7641, allocations: 99.5 kB / 0.8774 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/0.7642, allocations: 37.81 kB / 0.8775 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of SimCode: time 1.643e-06/0.7642, allocations: 3.938 kB / 0.8775 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of Templates: time 0.01614/0.7803, allocations: 8.32 MB / 0.8856 GB, free: 3.723 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)