Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001902/0.001902, allocations: 193.9 kB / 16.14 MB, free: 6.703 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.37/1.37, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 437 MB / 0.7099 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 63.89 kB / 0.8686 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7977/0.7997, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1974/0.9972, allocations: 160.6 MB / 1.173 GB, free: 1.535 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01429/1.011, allocations: 9.753 MB / 1.183 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009669/1.013, allocations: 19.88 kB / 1.183 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001376/1.014, allocations: 286.4 kB / 1.183 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003431/1.017, allocations: 0.9491 MB / 1.184 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005581/1.023, allocations: 1.75 MB / 1.186 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00248/1.026, allocations: 1.813 MB / 1.188 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008579/1.026, allocations: 369.1 kB / 1.188 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005979/1.032, allocations: 1.918 MB / 1.19 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003444/1.036, allocations: 1.307 MB / 1.191 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002109/1.036, allocations: 28 kB / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006967/1.043, allocations: 2.805 MB / 1.194 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004104/1.043, allocations: 135.5 kB / 1.194 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007568/1.044, allocations: 326.4 kB / 1.194 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005039/1.049, allocations: 2.198 MB / 1.197 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/1.049, allocations: 0 / 1.197 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.443e-06/1.049, allocations: 3.938 kB / 1.197 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.96e-05/1.049, allocations: 0 / 1.197 GB, free: 9.836 MB / 0.9512 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.00293/1.052, allocations: 1.014 MB / 1.198 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/1.052, allocations: 8.031 kB / 1.198 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/1.054, allocations: 151.3 kB / 1.198 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007772/1.054, allocations: 417.5 kB / 1.198 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.155e-05/1.055, allocations: 41.3 kB / 1.198 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/1.055, allocations: 56 kB / 1.198 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/1.056, allocations: 0.6643 MB / 1.199 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/1.056, allocations: 3.938 kB / 1.199 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.783e-05/1.056, allocations: 24 kB / 1.199 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/1.056, allocations: 15.94 kB / 1.199 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/1.057, allocations: 491.5 kB / 1.199 GB, free: 6.84 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003975/1.061, allocations: 2.994 MB / 1.202 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006547/1.062, allocations: 272.7 kB / 1.203 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003631/1.063, allocations: 164.7 kB / 1.203 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01744/1.08, allocations: 5.762 MB / 1.208 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.248e-05/1.08, allocations: 42.56 kB / 1.208 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=36): time 3.898e-06/1.08, allocations: 0 / 1.208 GB, free: 13.14 MB / 0.9669 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volDyn.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=52): time 0.0893/1.169, allocations: 31.61 MB / 1.239 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.318e-05/1.17, allocations: 137 kB / 1.239 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005578/1.17, allocations: 373.5 kB / 1.24 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.957e-05/1.17, allocations: 41.69 kB / 1.24 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/1.17, allocations: 288.2 kB / 1.24 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/1.171, allocations: 185.3 kB / 1.24 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/1.171, allocations: 110.1 kB / 1.24 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.171, allocations: 354.8 kB / 1.241 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005859/1.172, allocations: 237 kB / 1.241 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000713/1.172, allocations: 372.5 kB / 1.241 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/1.174, allocations: 0.5903 MB / 1.242 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/1.174, allocations: 4 kB / 1.242 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002095/1.176, allocations: 0.7937 MB / 1.243 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/1.176, allocations: 11.94 kB / 1.243 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.176, allocations: 4 kB / 1.243 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005601/1.176, allocations: 125.7 kB / 1.243 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005925/1.177, allocations: 127.8 kB / 1.243 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003251/1.18, allocations: 3.098 MB / 1.246 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006996/1.181, allocations: 52.05 kB / 1.246 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.506e-05/1.181, allocations: 32.11 kB / 1.246 GB, free: 6.16 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003207/1.181, allocations: 190.2 kB / 1.246 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/1.181, allocations: 55.38 kB / 1.246 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/1.183, allocations: 0.7883 MB / 1.247 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/1.183, allocations: 4.047 kB / 1.247 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/1.183, allocations: 7.984 kB / 1.247 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/1.183, allocations: 3.984 kB / 1.247 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003453/1.187, allocations: 1.61 MB / 1.249 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/1.187, allocations: 4 kB / 1.249 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005127/1.187, allocations: 103.8 kB / 1.249 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003426/1.188, allocations: 72.8 kB / 1.249 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/1.188, allocations: 12 kB / 1.249 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/1.19, allocations: 1.596 MB / 1.25 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.19, allocations: 7.969 kB / 1.25 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/1.192, allocations: 1.03 MB / 1.251 GB, free: 380 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/1.192, allocations: 128.4 kB / 1.251 GB, free: 232 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/1.192, allocations: 15.94 kB / 1.251 GB, free: 216 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006321/1.193, allocations: 56.06 kB / 1.252 GB, free: 160 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/1.193, allocations: 47.81 kB / 1.252 GB, free: 112 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.407e-05/1.193, allocations: 23.98 kB / 1.252 GB, free: 88 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.6515/1.845, allocations: 352.6 kB / 1.252 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.41e-07/1.845, allocations: 0.875 kB / 1.252 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006139/1.851, allocations: 1.391 MB / 1.253 GB, free: 221.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.VWat,volSte.VWat) * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007941/1.859, allocations: 0.7601 MB / 1.254 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002204/1.861, allocations: 0.8077 MB / 1.255 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/1.861, allocations: 1.906 kB / 1.255 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007994/1.862, allocations: 385.2 kB / 1.255 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/1.864, allocations: 329.9 kB / 1.255 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/1.866, allocations: 1.393 MB / 1.257 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/1.867, allocations: 0.8803 MB / 1.258 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008098/1.867, allocations: 150.2 kB / 1.258 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/1.868, allocations: 62.47 kB / 1.258 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.573e-06/1.868, allocations: 0.625 kB / 1.258 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.08882/1.956, allocations: 63.29 MB / 1.32 GB, free: 182.6 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1)