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.779/0.779, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 179.2 kB / 187.3 MB, free: 11.9 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.416/1.416, allocations: 221.3 MB / 441.4 MB, free: 4.629 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.001292/0.001292, allocations: 93.94 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00189/0.00189, allocations: 276.8 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.125e-05/5.127e-05, allocations: 11.98 kB / 0.6834 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5048/0.5049, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.42/4.924, allocations: 1.83 GB / 2.595 GB, free: 219.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/4.925, allocations: 94.84 kB / 2.595 GB, free: 219 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.122/6.046, allocations: 415.4 MB / 3 GB, free: 73.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/6.047, allocations: 4 kB / 3 GB, free: 73.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.006e-05/6.047, allocations: 23.98 kB / 3 GB, free: 73.12 MB / 0.698 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.001282/6.048, allocations: 0.8461 MB / 3.001 GB, free: 72.22 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/6.048, allocations: 8.031 kB / 3.001 GB, free: 72.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/6.048, allocations: 67.25 kB / 3.001 GB, free: 72.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/6.049, allocations: 422.4 kB / 3.002 GB, free: 71.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/6.049, allocations: 45.31 kB / 3.002 GB, free: 71.65 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.284e-05/6.049, allocations: 59.98 kB / 3.002 GB, free: 71.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007201/6.049, allocations: 0.6604 MB / 3.003 GB, free: 70.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/6.049, allocations: 7.938 kB / 3.003 GB, free: 70.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/6.05, allocations: 23.98 kB / 3.003 GB, free: 70.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.002e-05/6.05, allocations: 31.98 kB / 3.003 GB, free: 70.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003887/6.05, allocations: 327.5 kB / 3.003 GB, free: 70.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/6.052, allocations: 3.219 MB / 3.006 GB, free: 67.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/6.052, allocations: 206.1 kB / 3.006 GB, free: 66.81 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/6.052, allocations: 116.6 kB / 3.006 GB, free: 66.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/6.052, allocations: 4 kB / 3.006 GB, free: 66.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/6.052, allocations: 46.5 kB / 3.006 GB, free: 66.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.854e-06/6.052, allocations: 0 / 3.006 GB, free: 66.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0003865/6.052, allocations: 176.8 kB / 3.007 GB, free: 66.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/6.053, allocations: 299 kB / 3.007 GB, free: 66.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005158/6.053, allocations: 0.6012 MB / 3.007 GB, free: 65.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/6.053, allocations: 25.7 kB / 3.007 GB, free: 65.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/6.053, allocations: 268.2 kB / 3.008 GB, free: 65.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/6.053, allocations: 31.47 kB / 3.008 GB, free: 65.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/6.053, allocations: 4 kB / 3.008 GB, free: 65.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.648e-05/6.053, allocations: 366.8 kB / 3.008 GB, free: 64.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.711e-05/6.053, allocations: 35.92 kB / 3.008 GB, free: 64.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.464e-05/6.053, allocations: 96.56 kB / 3.008 GB, free: 64.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.076e-05/6.054, allocations: 39.92 kB / 3.008 GB, free: 64.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/6.054, allocations: 0 / 3.008 GB, free: 64.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001671/6.054, allocations: 161.2 kB / 3.008 GB, free: 64.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/6.054, allocations: 8 kB / 3.008 GB, free: 64.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/6.054, allocations: 0 / 3.008 GB, free: 64.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/6.054, allocations: 4.125 kB / 3.008 GB, free: 64.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/6.054, allocations: 31.97 kB / 3.008 GB, free: 64.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/6.054, allocations: 7.953 kB / 3.008 GB, free: 64.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/6.054, allocations: 67.27 kB / 3.009 GB, free: 64.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/6.054, allocations: 11.98 kB / 3.009 GB, free: 64.26 MB / 0.698 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 () * 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 5.613e-05/6.054, allocations: 116.9 kB / 3.009 GB, free: 64.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/6.054, allocations: 59.34 kB / 3.009 GB, free: 64.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.275e-05/6.055, allocations: 56.33 kB / 3.009 GB, free: 64.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/6.055, allocations: 4 kB / 3.009 GB, free: 64.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/6.055, allocations: 0 / 3.009 GB, free: 64.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/6.055, allocations: 11.94 kB / 3.009 GB, free: 64.01 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/6.056, allocations: 1.297 MB / 3.01 GB, free: 62.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/6.056, allocations: 288 / 3.01 GB, free: 62.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.117e-05/6.056, allocations: 32.2 kB / 3.01 GB, free: 62.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/6.056, allocations: 4 kB / 3.01 GB, free: 62.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/6.056, allocations: 7.938 kB / 3.01 GB, free: 62.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/6.056, allocations: 4 kB / 3.01 GB, free: 62.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/6.056, allocations: 0 / 3.01 GB, free: 62.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/6.056, allocations: 421.8 kB / 3.01 GB, free: 62.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/6.056, allocations: 144.4 kB / 3.011 GB, free: 61.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/6.056, allocations: 15.98 kB / 3.011 GB, free: 61.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/6.056, allocations: 19.98 kB / 3.011 GB, free: 61.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/6.056, allocations: 19.94 kB / 3.011 GB, free: 61.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/6.056, allocations: 4 kB / 3.011 GB, free: 61.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003936/6.057, allocations: 487.1 kB / 3.011 GB, free: 61.37 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.51e-07/6.057, allocations: 0 / 3.011 GB, free: 61.37 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007765/6.058, allocations: 231.9 kB / 3.011 GB, free: 61.14 MB / 0.698 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 () * 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.001593/6.059, allocations: 1.45 MB / 3.013 GB, free: 59.63 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001665/6.059, allocations: 75.84 kB / 3.013 GB, free: 59.56 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/6.059, allocations: 4.375 kB / 3.013 GB, free: 59.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.505e-05/6.059, allocations: 51.86 kB / 3.013 GB, free: 59.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/6.061, allocations: 269.8 kB / 3.013 GB, free: 59.24 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008187/6.061, allocations: 0.6548 MB / 3.014 GB, free: 58.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/6.062, allocations: 0.9169 MB / 3.015 GB, free: 57.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002199/6.062, allocations: 104.6 kB / 3.015 GB, free: 57.49 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.378e-05/6.062, allocations: 35.44 kB / 3.015 GB, free: 57.45 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/6.062, allocations: 0 / 3.015 GB, free: 57.45 MB / 0.698 GB Notification: Performance of Templates: time 0.03317/6.095, allocations: 29.78 MB / 3.044 GB, free: 27.73 MB / 0.698 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)