Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008075/0.0008077, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.00541/0.00541, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.412/1.412, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004759, allocations: 7.125 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3854, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2306/0.6161, allocations: 171.5 MB / 1.242 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009881/0.626, allocations: 8.572 MB / 1.25 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005766/0.6266, allocations: 23.81 kB / 1.25 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006472/0.6273, allocations: 238.4 kB / 1.25 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000676/0.628, allocations: 302.6 kB / 1.25 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008747/0.6289, allocations: 327.2 kB / 1.251 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001494/0.6304, allocations: 1.624 MB / 1.252 GB, free: 348 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.781/1.411, allocations: 484.5 kB / 1.253 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006237/1.418, allocations: 1.909 MB / 1.255 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008/1.419, allocations: 349.2 kB / 1.255 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.667e-05/1.419, allocations: 20.91 kB / 1.255 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/1.419, allocations: 58.23 kB / 1.255 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000368/1.419, allocations: 235.1 kB / 1.255 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006906/1.42, allocations: 281.6 kB / 1.256 GB, free: 23.03 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007933/1.421, allocations: 0.5968 MB / 1.256 GB, free: 23 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.421, allocations: 4.906 kB / 1.256 GB, free: 22.99 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.274e-06/1.421, allocations: 0 / 1.256 GB, free: 22.99 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.758e-06/1.421, allocations: 0 / 1.256 GB, free: 22.99 MB / 1.014 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.001022/1.422, allocations: 0.7069 MB / 1.257 GB, free: 22.47 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.422, allocations: 9.75 kB / 1.257 GB, free: 22.47 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/1.422, allocations: 65.53 kB / 1.257 GB, free: 22.44 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005542/1.423, allocations: 418.3 kB / 1.257 GB, free: 22.19 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.434e-05/1.423, allocations: 45.27 kB / 1.257 GB, free: 22.19 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-05/1.423, allocations: 54.47 kB / 1.257 GB, free: 22.19 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/1.424, allocations: 0.7021 MB / 1.258 GB, free: 21.94 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/1.424, allocations: 6.438 kB / 1.258 GB, free: 21.94 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.504e-05/1.424, allocations: 26.88 kB / 1.258 GB, free: 21.94 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-05/1.424, allocations: 31.25 kB / 1.258 GB, free: 21.94 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007487/1.425, allocations: 391.4 kB / 1.259 GB, free: 21.93 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/1.428, allocations: 3.221 MB / 1.262 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/1.428, allocations: 230.2 kB / 1.262 GB, free: 19.29 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/1.428, allocations: 132.4 kB / 1.262 GB, free: 19.21 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/1.428, allocations: 2.344 kB / 1.262 GB, free: 19.21 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/1.428, allocations: 55.5 kB / 1.262 GB, free: 19.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/1.428, allocations: 0 / 1.262 GB, free: 19.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0007766/1.429, allocations: 262.6 kB / 1.262 GB, free: 19.1 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/1.429, allocations: 296 kB / 1.263 GB, free: 18.75 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008546/1.43, allocations: 0.6895 MB / 1.263 GB, free: 18.62 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/1.43, allocations: 28.55 kB / 1.263 GB, free: 18.59 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/1.43, allocations: 269.2 kB / 1.264 GB, free: 18.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/1.43, allocations: 33.67 kB / 1.264 GB, free: 18.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/1.43, allocations: 13 kB / 1.264 GB, free: 18.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001821/1.43, allocations: 370.1 kB / 1.264 GB, free: 18.15 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/1.431, allocations: 45.16 kB / 1.264 GB, free: 18.14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/1.431, allocations: 99.84 kB / 1.264 GB, free: 18.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/1.431, allocations: 143.6 kB / 1.264 GB, free: 18.04 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.431, allocations: 0.7031 kB / 1.264 GB, free: 18.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003772/1.431, allocations: 199.8 kB / 1.264 GB, free: 17.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/1.431, allocations: 14.92 kB / 1.264 GB, free: 17.97 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/1.431, allocations: 2.031 kB / 1.264 GB, free: 17.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.432, allocations: 2.609 kB / 1.264 GB, free: 17.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/1.432, allocations: 51 kB / 1.265 GB, free: 17.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/1.432, allocations: 5.734 kB / 1.265 GB, free: 17.97 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/1.432, allocations: 66.8 kB / 1.265 GB, free: 17.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/1.432, allocations: 6.969 kB / 1.265 GB, free: 17.94 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.0002378/1.432, allocations: 198.6 kB / 1.265 GB, free: 17.82 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/1.433, allocations: 67.61 kB / 1.265 GB, free: 17.79 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/1.433, allocations: 63.31 kB / 1.265 GB, free: 17.78 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/1.433, allocations: 2.219 kB / 1.265 GB, free: 17.78 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.433, allocations: 7.062 kB / 1.265 GB, free: 17.77 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/1.433, allocations: 3.469 kB / 1.265 GB, free: 17.77 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/1.434, allocations: 1.301 MB / 1.266 GB, free: 16.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.434, allocations: 2.625 kB / 1.266 GB, free: 16.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/1.434, allocations: 51.86 kB / 1.266 GB, free: 16.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/1.434, allocations: 7.562 kB / 1.266 GB, free: 16.79 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/1.434, allocations: 2.625 kB / 1.266 GB, free: 16.79 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/1.434, allocations: 7.031 kB / 1.266 GB, free: 16.79 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/1.434, allocations: 9.703 kB / 1.266 GB, free: 16.79 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/1.435, allocations: 346.1 kB / 1.267 GB, free: 16.55 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/1.435, allocations: 147.4 kB / 1.267 GB, free: 16.43 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/1.435, allocations: 6.969 kB / 1.267 GB, free: 16.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/1.435, allocations: 17.72 kB / 1.267 GB, free: 16.43 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/1.435, allocations: 21.44 kB / 1.267 GB, free: 16.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/1.435, allocations: 9.844 kB / 1.267 GB, free: 16.42 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005459/1.436, allocations: 0.4945 MB / 1.267 GB, free: 16.32 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.436, allocations: 0 / 1.267 GB, free: 16.32 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000428/1.436, allocations: 84.12 kB / 1.267 GB, free: 16.32 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.0003576/1.437, allocations: 132.9 kB / 1.268 GB, free: 16.23 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003383/1.437, allocations: 114.9 kB / 1.268 GB, free: 16.23 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/1.437, allocations: 0 / 1.268 GB, free: 16.23 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/1.437, allocations: 69.59 kB / 1.268 GB, free: 16.22 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/1.439, allocations: 285.1 kB / 1.268 GB, free: 16.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/1.44, allocations: 1.015 MB / 1.269 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/1.441, allocations: 0.9123 MB / 1.27 GB, free: 14.92 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002953/1.441, allocations: 105.7 kB / 1.27 GB, free: 14.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/1.441, allocations: 32.91 kB / 1.27 GB, free: 14.91 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/1.441, allocations: 0 / 1.27 GB, free: 14.91 MB / 1.014 GB Notification: Performance of Templates: time 0.01897/1.46, allocations: 8.002 MB / 1.278 GB, free: 14.48 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_1.6_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)