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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.9632/0.9632, allocations: 140 MB / 156 MB, free: 8.438 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 184.5 kB / 188.5 MB, free: 9.004 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.838/1.838, allocations: 205.4 MB / 426.4 MB, free: 8.121 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008189/0.0008189, allocations: 90.31 kB / 0.4945 GB, free: 8.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001673/0.001673, allocations: 268.5 kB / 0.5728 GB, free: 66.13 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004421/0.0004422, allocations: 20 kB / 0.662 GB, free: 6.719 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4039, allocations: 79.29 MB / 0.7395 GB, free: 46.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.153/5.556, allocations: 2.035 GB / 2.774 GB, free: 175.2 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004519/5.557, allocations: 91.95 kB / 2.775 GB, free: 175.1 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.261/6.818, allocations: 411.3 MB / 3.176 GB, free: 18.67 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.084e-06/6.818, allocations: 0 / 3.176 GB, free: 18.67 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.786e-05/6.818, allocations: 23.98 kB / 3.176 GB, free: 18.64 MB / 0.6667 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.002252/6.821, allocations: 0.881 MB / 3.177 GB, free: 17.71 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/6.821, allocations: 8.031 kB / 3.177 GB, free: 17.71 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/6.821, allocations: 72.19 kB / 3.177 GB, free: 17.64 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007467/6.822, allocations: 437.8 kB / 3.178 GB, free: 17.17 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/6.822, allocations: 41.3 kB / 3.178 GB, free: 17.12 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/6.822, allocations: 56 kB / 3.178 GB, free: 17.07 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/6.823, allocations: 0.6914 MB / 3.178 GB, free: 16.3 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.863e-05/6.823, allocations: 3.938 kB / 3.178 GB, free: 16.29 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.84e-05/6.823, allocations: 24 kB / 3.178 GB, free: 16.27 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.619e-05/6.823, allocations: 35.98 kB / 3.178 GB, free: 16.23 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007967/6.824, allocations: 375.3 kB / 3.179 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003271/6.827, allocations: 3.208 MB / 3.182 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/6.828, allocations: 230.6 kB / 3.182 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/6.828, allocations: 140.5 kB / 3.182 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/6.828, allocations: 4 kB / 3.182 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/6.828, allocations: 42.5 kB / 3.182 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=10): time 3.156e-06/6.828, allocations: 0 / 3.182 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10): time 0.0007634/6.829, allocations: 265.7 kB / 3.183 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/6.829, allocations: 298.8 kB / 3.183 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008083/6.83, allocations: 0.6721 MB / 3.184 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/6.83, allocations: 33.7 kB / 3.184 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000191/6.83, allocations: 264.2 kB / 3.184 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/6.83, allocations: 35.48 kB / 3.184 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/6.83, allocations: 0 / 3.184 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001434/6.83, allocations: 374.8 kB / 3.184 GB, free: 9.961 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/6.83, allocations: 43.91 kB / 3.184 GB, free: 9.918 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/6.83, allocations: 120.5 kB / 3.184 GB, free: 9.77 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/6.831, allocations: 133.3 kB / 3.185 GB, free: 9.621 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/6.831, allocations: 0 / 3.185 GB, free: 9.621 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003442/6.831, allocations: 208.7 kB / 3.185 GB, free: 9.41 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/6.831, allocations: 7.938 kB / 3.185 GB, free: 9.402 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/6.831, allocations: 7.938 kB / 3.185 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/6.831, allocations: 0 / 3.185 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/6.831, allocations: 23.98 kB / 3.185 GB, free: 9.371 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/6.831, allocations: 4.172 kB / 3.185 GB, free: 9.367 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/6.832, allocations: 71.27 kB / 3.185 GB, free: 9.297 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/6.832, allocations: 15.98 kB / 3.185 GB, free: 9.281 MB / 0.6667 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.0002467/6.832, allocations: 197.7 kB / 3.185 GB, free: 9.078 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/6.832, allocations: 59.28 kB / 3.185 GB, free: 9.02 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.82e-05/6.832, allocations: 68.31 kB / 3.185 GB, free: 8.949 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/6.832, allocations: 4 kB / 3.185 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/6.832, allocations: 4 kB / 3.185 GB, free: 8.941 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/6.832, allocations: 4 kB / 3.185 GB, free: 8.938 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/6.833, allocations: 1.289 MB / 3.186 GB, free: 7.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/6.833, allocations: 4 kB / 3.186 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.361e-05/6.834, allocations: 27.92 kB / 3.186 GB, free: 7.527 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/6.834, allocations: 0 / 3.186 GB, free: 7.527 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/6.834, allocations: 8 kB / 3.186 GB, free: 7.52 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/6.834, allocations: 16.2 kB / 3.186 GB, free: 7.504 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/6.834, allocations: 4 kB / 3.186 GB, free: 7.5 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/6.834, allocations: 338.4 kB / 3.187 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/6.834, allocations: 156.3 kB / 3.187 GB, free: 6.953 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.587e-05/6.834, allocations: 4 kB / 3.187 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/6.834, allocations: 19.92 kB / 3.187 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/6.834, allocations: 11.98 kB / 3.187 GB, free: 6.918 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/6.834, allocations: 4 kB / 3.187 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004933/6.835, allocations: 0.4951 MB / 3.187 GB, free: 6.426 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.21e-07/6.835, allocations: 0 / 3.187 GB, free: 6.426 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001028/6.836, allocations: 216.3 kB / 3.188 GB, free: 6.215 MB / 0.6667 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.002358/6.838, allocations: 1.452 MB / 3.189 GB, free: 4.691 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003289/6.839, allocations: 111.8 kB / 3.189 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/6.839, allocations: 7.938 kB / 3.189 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/6.839, allocations: 56.84 kB / 3.189 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/6.84, allocations: 282.1 kB / 3.19 GB, free: 4.25 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/6.842, allocations: 0.9593 MB / 3.19 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/6.842, allocations: 0.9013 MB / 3.191 GB, free: 2.305 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003018/6.842, allocations: 104.6 kB / 3.191 GB, free: 2.203 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/6.843, allocations: 35.44 kB / 3.191 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of SimCode: time 4.01e-07/6.843, allocations: 0 / 3.191 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of Templates: time 0.4962/7.339, allocations: 26.03 MB / 3.217 GB, free: 134.7 MB / 0.6667 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)