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.00159/0.00159, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001658/0.001658, allocations: 196.8 kB / 16.14 MB, free: 6.715 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.499/1.499, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002658/0.002658, allocations: 286.9 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.087/1.087, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004192/0.004193, allocations: 99.72 kB / 0.6057 GB, free: 25.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1817, allocations: 89.15 MB / 0.6928 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.5616/0.7433, allocations: 173.7 MB / 0.8624 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0122/0.7556, allocations: 8.709 MB / 0.8709 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.7569, allocations: 18.28 kB / 0.871 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.758, allocations: 242.8 kB / 0.8712 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.7592, allocations: 288.9 kB / 0.8715 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.7604, allocations: 338.9 kB / 0.8718 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002009/0.7624, allocations: 1.613 MB / 0.8734 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008825/0.7633, allocations: 0.5124 MB / 0.8739 GB, free: 208 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00557/0.7689, allocations: 1.928 MB / 0.8758 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006561/0.7696, allocations: 359.9 kB / 0.8761 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.036e-05/0.7696, allocations: 27.97 kB / 0.8761 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002388/0.7699, allocations: 71.42 kB / 0.8762 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002675/0.7702, allocations: 245.4 kB / 0.8764 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.7705, allocations: 280.9 kB / 0.8767 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006869/0.7712, allocations: 0.594 MB / 0.8773 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.7712, allocations: 0 / 0.8773 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.12e-07/0.7712, allocations: 0 / 0.8773 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.7712, allocations: 0 / 0.8773 GB, free: 13.98 MB / 0.6075 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.001236/0.7725, allocations: 0.8235 MB / 0.8781 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.7725, allocations: 10.44 kB / 0.8781 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.7727, allocations: 71.53 kB / 0.8782 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006168/0.7733, allocations: 415.5 kB / 0.8786 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/0.7733, allocations: 49.8 kB / 0.8786 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.433e-05/0.7734, allocations: 47.28 kB / 0.8786 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.7745, allocations: 0.7098 MB / 0.8793 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.7746, allocations: 6.656 kB / 0.8793 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.733e-05/0.7746, allocations: 17.06 kB / 0.8794 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-05/0.7747, allocations: 34.14 kB / 0.8794 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006655/0.7754, allocations: 381 kB / 0.8798 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003132/0.7785, allocations: 3.228 MB / 0.8829 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.7788, allocations: 218.5 kB / 0.8831 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.7791, allocations: 124.6 kB / 0.8832 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.7791, allocations: 3.984 kB / 0.8832 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.7792, allocations: 50.5 kB / 0.8833 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 2.164e-06/0.7792, allocations: 4 kB / 0.8833 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0007494/0.7799, allocations: 249.4 kB / 0.8835 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002125/0.7801, allocations: 290.7 kB / 0.8838 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00088/0.781, allocations: 0.6877 MB / 0.8845 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.7811, allocations: 34.44 kB / 0.8845 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.7813, allocations: 268.2 kB / 0.8848 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.362e-05/0.7814, allocations: 35.45 kB / 0.8848 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.164e-05/0.7814, allocations: 33.66 kB / 0.8848 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002136/0.7817, allocations: 366.8 kB / 0.8852 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.7818, allocations: 31.97 kB / 0.8852 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.782, allocations: 101.1 kB / 0.8853 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.7823, allocations: 125 kB / 0.8854 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.7823, allocations: 6.688 kB / 0.8854 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003752/0.7827, allocations: 184.8 kB / 0.8856 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.7827, allocations: 7.938 kB / 0.8856 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.7827, allocations: 3.938 kB / 0.8856 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.7827, allocations: 8.188 kB / 0.8856 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.783, allocations: 43.95 kB / 0.8857 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.783, allocations: 1.484 kB / 0.8857 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.7832, allocations: 59.27 kB / 0.8857 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/0.7833, allocations: 8 kB / 0.8857 GB, free: 5.945 MB / 0.6075 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.0002335/0.7835, allocations: 210.4 kB / 0.8859 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/0.7838, allocations: 59.33 kB / 0.886 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.086e-05/0.7839, allocations: 60.27 kB / 0.8861 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.7839, allocations: 7.984 kB / 0.8861 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.7839, allocations: 4 kB / 0.8861 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.7839, allocations: 4 kB / 0.8861 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.7855, allocations: 1.297 MB / 0.8873 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.7855, allocations: 4 kB / 0.8873 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.7857, allocations: 52.17 kB / 0.8874 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.7857, allocations: 4.188 kB / 0.8874 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.7858, allocations: 0 / 0.8874 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.7858, allocations: 7.938 kB / 0.8874 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.7858, allocations: 4 kB / 0.8874 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004794/0.7863, allocations: 342.3 kB / 0.8877 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.7864, allocations: 150.3 kB / 0.8879 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/0.7865, allocations: 4 kB / 0.8879 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.7867, allocations: 15.98 kB / 0.8879 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.7868, allocations: 11.92 kB / 0.8879 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.7868, allocations: 8 kB / 0.8879 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000607/0.7874, allocations: 0.4912 MB / 0.8884 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7874, allocations: 4 kB / 0.8884 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004022/0.7878, allocations: 87.84 kB / 0.8885 GB, free: 2.973 MB / 0.6075 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.0003564/0.7882, allocations: 131.5 kB / 0.8886 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003367/0.7885, allocations: 107.8 kB / 0.8887 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7885, allocations: 0 / 0.8887 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.7887, allocations: 59.89 kB / 0.8888 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.7901, allocations: 271.8 kB / 0.889 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.7915, allocations: 1.023 MB / 0.89 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/0.7921, allocations: 0.9052 MB / 0.8909 GB, free: 412 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002676/0.7924, allocations: 106.7 kB / 0.891 GB, free: 308 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.7924, allocations: 31.44 kB / 0.891 GB, free: 276 kB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.7924, allocations: 0 / 0.891 GB, free: 276 kB / 0.6075 GB Notification: Performance of Templates: time 0.01615/0.8086, allocations: 8.039 MB / 0.8989 GB, free: 8.371 MB / 0.6231 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)