Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001636/0.001636, allocations: 107.4 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.002818/0.002818, allocations: 190.1 kB / 16.14 MB, free: 6.707 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.469/1.469, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.914/2.914, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 64.47 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3318, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2/0.5319, allocations: 173.8 MB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01107/0.543, allocations: 8.685 MB / 1.246 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009025/0.5439, allocations: 19.88 kB / 1.246 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.545, allocations: 234.4 kB / 1.246 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.5462, allocations: 302.6 kB / 1.246 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.5474, allocations: 338.5 kB / 1.247 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00189/0.5493, allocations: 1.62 MB / 1.248 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000954/0.5503, allocations: 0.489 MB / 1.249 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.697/1.247, allocations: 1.921 MB / 1.25 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007404/1.248, allocations: 376.2 kB / 1.251 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.508e-05/1.248, allocations: 27.38 kB / 1.251 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/1.248, allocations: 63.58 kB / 1.251 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003608/1.249, allocations: 249.8 kB / 1.251 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004289/1.249, allocations: 267.2 kB / 1.251 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008273/1.25, allocations: 0.6056 MB / 1.252 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.25, allocations: 1.156 kB / 1.252 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.834e-06/1.25, allocations: 0.6562 kB / 1.252 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.789e-06/1.25, allocations: 1.203 kB / 1.252 GB, free: 6.488 MB / 0.9981 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.001516/1.252, allocations: 0.8217 MB / 1.253 GB, free: 21.98 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/1.252, allocations: 10.22 kB / 1.253 GB, free: 21.98 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/1.252, allocations: 66.03 kB / 1.253 GB, free: 21.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005778/1.252, allocations: 414.8 kB / 1.253 GB, free: 21.7 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.719e-05/1.253, allocations: 44.66 kB / 1.253 GB, free: 21.7 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-05/1.253, allocations: 56.11 kB / 1.253 GB, free: 21.7 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/1.254, allocations: 0.6963 MB / 1.254 GB, free: 21.45 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/1.254, allocations: 6.547 kB / 1.254 GB, free: 21.45 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.068e-05/1.254, allocations: 25.09 kB / 1.254 GB, free: 21.45 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.99e-05/1.254, allocations: 28.81 kB / 1.254 GB, free: 21.45 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007447/1.255, allocations: 382 kB / 1.254 GB, free: 21.45 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/1.257, allocations: 3.226 MB / 1.258 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/1.257, allocations: 221 kB / 1.258 GB, free: 18.81 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/1.258, allocations: 122.9 kB / 1.258 GB, free: 18.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/1.258, allocations: 9.781 kB / 1.258 GB, free: 18.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/1.258, allocations: 44.97 kB / 1.258 GB, free: 18.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 2.294e-06/1.258, allocations: 4.906 kB / 1.258 GB, free: 18.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0007825/1.259, allocations: 248 kB / 1.258 GB, free: 18.62 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001643/1.259, allocations: 297 kB / 1.259 GB, free: 18.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008851/1.26, allocations: 0.6862 MB / 1.259 GB, free: 18.14 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/1.26, allocations: 28.22 kB / 1.259 GB, free: 18.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/1.26, allocations: 269.7 kB / 1.259 GB, free: 18.02 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/1.26, allocations: 34.81 kB / 1.26 GB, free: 18 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/1.26, allocations: 29.73 kB / 1.26 GB, free: 17.98 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.26, allocations: 370.7 kB / 1.26 GB, free: 17.67 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/1.26, allocations: 40.14 kB / 1.26 GB, free: 17.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/1.26, allocations: 94.34 kB / 1.26 GB, free: 17.62 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/1.261, allocations: 129.1 kB / 1.26 GB, free: 17.57 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.261, allocations: 0 / 1.26 GB, free: 17.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003287/1.261, allocations: 195.1 kB / 1.26 GB, free: 17.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/1.261, allocations: 10.78 kB / 1.26 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.261, allocations: 3.562 kB / 1.26 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/1.261, allocations: 3.328 kB / 1.26 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/1.261, allocations: 40.45 kB / 1.26 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/1.261, allocations: 0 / 1.26 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/1.262, allocations: 64.12 kB / 1.26 GB, free: 17.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/1.262, allocations: 14.66 kB / 1.26 GB, free: 17.46 MB / 1.014 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.000196/1.262, allocations: 197.3 kB / 1.261 GB, free: 17.35 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/1.262, allocations: 67.09 kB / 1.261 GB, free: 17.31 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.877e-05/1.262, allocations: 62.48 kB / 1.261 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.262, allocations: 3.781 kB / 1.261 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.262, allocations: 3.453 kB / 1.261 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.262, allocations: 2.438 kB / 1.261 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/1.264, allocations: 1.304 MB / 1.262 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.264, allocations: 3.234 kB / 1.262 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/1.264, allocations: 47.09 kB / 1.262 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/1.264, allocations: 2.625 kB / 1.262 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/1.264, allocations: 2.625 kB / 1.262 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/1.264, allocations: 3.422 kB / 1.262 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.264, allocations: 6.562 kB / 1.262 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/1.264, allocations: 333.7 kB / 1.262 GB, free: 16.08 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/1.264, allocations: 149.8 kB / 1.263 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.937e-05/1.264, allocations: 8.5 kB / 1.263 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/1.265, allocations: 15.78 kB / 1.263 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/1.265, allocations: 25.16 kB / 1.263 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/1.265, allocations: 5.25 kB / 1.263 GB, free: 15.95 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005375/1.265, allocations: 0.4908 MB / 1.263 GB, free: 15.86 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.265, allocations: 0 / 1.263 GB, free: 15.86 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003965/1.266, allocations: 86.08 kB / 1.263 GB, free: 15.85 MB / 1.014 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.0003478/1.266, allocations: 142.9 kB / 1.263 GB, free: 15.75 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003194/1.266, allocations: 103.2 kB / 1.263 GB, free: 15.75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.266, allocations: 1.094 kB / 1.263 GB, free: 15.75 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/1.266, allocations: 60 kB / 1.263 GB, free: 15.75 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/1.268, allocations: 277.8 kB / 1.264 GB, free: 15.73 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/1.269, allocations: 1.008 MB / 1.265 GB, free: 15.15 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/1.27, allocations: 0.9038 MB / 1.266 GB, free: 14.45 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000292/1.27, allocations: 106.9 kB / 1.266 GB, free: 14.44 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/1.27, allocations: 39.03 kB / 1.266 GB, free: 14.43 MB / 1.014 GB Notification: Performance of SimCode: time 3.9e-07/1.27, allocations: 0 / 1.266 GB, free: 14.43 MB / 1.014 GB Notification: Performance of Templates: time 0.02504/1.295, allocations: 8.05 MB / 1.274 GB, free: 14.02 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_3.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)