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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8634/0.8634, allocations: 143.4 MB / 158.3 MB, free: 5.793 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 183.4 kB / 191.5 MB, free: 5.75 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.754/1.754, allocations: 223.2 MB / 447.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009575/0.0009576, allocations: 88.38 kB / 0.5188 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001717/0.001716, allocations: 267 kB / 0.6005 GB, free: 48.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004427, allocations: 11.66 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1991, allocations: 82.8 MB / 0.7737 GB, free: 13.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.378/4.577, allocations: 1.83 GB / 2.604 GB, free: 247.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/4.577, allocations: 93.59 kB / 2.604 GB, free: 247.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.25/5.828, allocations: 415.8 MB / 3.01 GB, free: 119.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.633e-06/5.828, allocations: 0 / 3.01 GB, free: 119.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.791e-05/5.828, allocations: 23.5 kB / 3.01 GB, free: 119 MB / 0.7136 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.001361/5.829, allocations: 0.8926 MB / 3.011 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/5.829, allocations: 12.03 kB / 3.011 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.921e-05/5.829, allocations: 63.25 kB / 3.011 GB, free: 118 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005705/5.83, allocations: 422 kB / 3.012 GB, free: 117.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/5.83, allocations: 41.3 kB / 3.012 GB, free: 117.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.864e-05/5.83, allocations: 60 kB / 3.012 GB, free: 117.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008419/5.831, allocations: 0.7108 MB / 3.012 GB, free: 116.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/5.831, allocations: 4 kB / 3.012 GB, free: 116.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/5.831, allocations: 20 kB / 3.013 GB, free: 116.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/5.831, allocations: 31.92 kB / 3.013 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005158/5.832, allocations: 367.5 kB / 3.013 GB, free: 116.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/5.833, allocations: 3.216 MB / 3.016 GB, free: 112.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/5.834, allocations: 226.1 kB / 3.016 GB, free: 112.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/5.834, allocations: 4.062 kB / 3.016 GB, free: 112.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/5.834, allocations: 46.5 kB / 3.016 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.194e-06/5.834, allocations: 0 / 3.016 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0007625/5.835, allocations: 265.5 kB / 3.017 GB, free: 112.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.369e-05/5.835, allocations: 290.7 kB / 3.017 GB, free: 111.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006293/5.835, allocations: 0.6088 MB / 3.017 GB, free: 111.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/5.835, allocations: 29.95 kB / 3.017 GB, free: 111.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/5.835, allocations: 268.2 kB / 3.018 GB, free: 111 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/5.836, allocations: 27.56 kB / 3.018 GB, free: 111 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-06/5.836, allocations: 4 kB / 3.018 GB, free: 111 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001152/5.836, allocations: 366.8 kB / 3.018 GB, free: 110.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/5.836, allocations: 47.91 kB / 3.018 GB, free: 110.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/5.836, allocations: 120.5 kB / 3.018 GB, free: 110.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/5.836, allocations: 55.91 kB / 3.018 GB, free: 110.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/5.836, allocations: 0 / 3.018 GB, free: 110.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003157/5.836, allocations: 204.7 kB / 3.018 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/5.836, allocations: 8.781 kB / 3.018 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/5.836, allocations: 0 / 3.018 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/5.836, allocations: 0 / 3.018 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/5.837, allocations: 23.98 kB / 3.019 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/5.837, allocations: 4 kB / 3.019 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/5.837, allocations: 71.5 kB / 3.019 GB, free: 110 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/5.837, allocations: 11.98 kB / 3.019 GB, free: 110 MB / 0.7136 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.0002254/5.837, allocations: 201.7 kB / 3.019 GB, free: 109.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/5.837, allocations: 67.25 kB / 3.019 GB, free: 109.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.512e-05/5.838, allocations: 60.31 kB / 3.019 GB, free: 109.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/5.838, allocations: 8 kB / 3.019 GB, free: 109.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/5.838, allocations: 0 / 3.019 GB, free: 109.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/5.838, allocations: 4 kB / 3.019 GB, free: 109.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/5.839, allocations: 1.289 MB / 3.02 GB, free: 108.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/5.839, allocations: 4 kB / 3.02 GB, free: 108.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/5.839, allocations: 31.88 kB / 3.02 GB, free: 108.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/5.839, allocations: 4.109 kB / 3.02 GB, free: 108.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/5.839, allocations: 7.938 kB / 3.02 GB, free: 108.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/5.839, allocations: 4.266 kB / 3.02 GB, free: 108.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/5.839, allocations: 11.94 kB / 3.02 GB, free: 108.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/5.839, allocations: 445.9 kB / 3.021 GB, free: 107.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/5.84, allocations: 152.3 kB / 3.021 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.305e-05/5.84, allocations: 4 kB / 3.021 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/5.84, allocations: 31.97 kB / 3.021 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/5.84, allocations: 15.94 kB / 3.021 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/5.84, allocations: 4 kB / 3.021 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005114/5.841, allocations: 0.4915 MB / 3.021 GB, free: 107 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/5.841, allocations: 8 kB / 3.021 GB, free: 107 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001266/5.842, allocations: 216 kB / 3.022 GB, free: 106.8 MB / 0.7136 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.002398/5.844, allocations: 1.43 MB / 3.023 GB, free: 105.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003534/5.845, allocations: 115.8 kB / 3.023 GB, free: 105.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/5.845, allocations: 0 / 3.023 GB, free: 105.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/5.845, allocations: 71.83 kB / 3.023 GB, free: 105.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/5.846, allocations: 268.6 kB / 3.023 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/5.847, allocations: 0.9594 MB / 3.024 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/5.847, allocations: 0.9208 MB / 3.025 GB, free: 102.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002401/5.848, allocations: 108.6 kB / 3.025 GB, free: 102.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.467e-05/5.848, allocations: 39.38 kB / 3.025 GB, free: 102.7 MB / 0.7136 GB Notification: Performance of SimCode: time 6.52e-07/5.848, allocations: 3.938 kB / 3.025 GB, free: 102.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.03285/5.881, allocations: 25.88 MB / 3.051 GB, free: 76.95 MB / 0.7136 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)