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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001489/0.001489, allocations: 111.4 kB / 16.37 MB, free: 6.469 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.001575/0.001575, allocations: 196.6 kB / 17.31 MB, free: 5.824 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.423/2.423, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 64.33 kB / 0.8707 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2799, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.634/0.914, allocations: 162.7 MB / 1.178 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01121/0.9253, allocations: 8.875 MB / 1.186 GB, free: 4.359 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006598/0.926, allocations: 22.19 kB / 1.186 GB, free: 4.348 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009747/0.927, allocations: 342.8 kB / 1.187 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002693/0.9297, allocations: 1.101 MB / 1.188 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005167/0.9349, allocations: 2.128 MB / 1.19 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001677/0.9366, allocations: 1.382 MB / 1.191 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006952/0.9373, allocations: 436.4 kB / 1.192 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005772/0.9431, allocations: 2.083 MB / 1.194 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002992/0.9461, allocations: 1.304 MB / 1.195 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.9462, allocations: 51.31 kB / 1.195 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005636/0.9518, allocations: 2.898 MB / 1.198 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.9521, allocations: 153.2 kB / 1.198 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004927/0.9526, allocations: 345 kB / 1.198 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003306/0.9559, allocations: 2.229 MB / 1.2 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.9559, allocations: 0 / 1.2 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9559, allocations: 0 / 1.2 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.9559, allocations: 0 / 1.2 GB, free: 11.09 MB / 0.9044 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.002045/0.958, allocations: 1 MB / 1.201 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.958, allocations: 8.578 kB / 1.201 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.9591, allocations: 146.8 kB / 1.202 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006492/0.9598, allocations: 442 kB / 1.202 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.9598, allocations: 37.03 kB / 1.202 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.692e-05/0.9599, allocations: 59.12 kB / 1.202 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.961, allocations: 0.661 MB / 1.203 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.9611, allocations: 3.938 kB / 1.203 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.866e-05/0.9611, allocations: 27.38 kB / 1.203 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.9612, allocations: 16.78 kB / 1.203 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009798/0.9621, allocations: 497.2 kB / 1.203 GB, free: 9.09 MB / 0.9044 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.003111/0.9653, allocations: 2.981 MB / 1.206 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000569/0.9658, allocations: 266.4 kB / 1.206 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/0.9662, allocations: 164.8 kB / 1.207 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01712/0.9833, allocations: 5.813 MB / 1.212 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.9834, allocations: 38.56 kB / 1.212 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=36): time 1.923e-06/0.9834, allocations: 0 / 1.212 GB, free: 2.176 MB / 0.9044 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.08486/1.068, allocations: 31.9 MB / 1.243 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.805e-05/1.068, allocations: 140.9 kB / 1.244 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004592/1.069, allocations: 369.6 kB / 1.244 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/1.069, allocations: 37.7 kB / 1.244 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/1.069, allocations: 284.2 kB / 1.244 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/1.069, allocations: 189.3 kB / 1.244 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/1.069, allocations: 114.1 kB / 1.245 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.07, allocations: 362.7 kB / 1.245 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005403/1.07, allocations: 233 kB / 1.245 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000627/1.071, allocations: 368.5 kB / 1.245 GB, free: 88 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/1.072, allocations: 0.5955 MB / 1.246 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.072, allocations: 0 / 1.246 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001927/1.074, allocations: 0.7975 MB / 1.247 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.074, allocations: 4 kB / 1.247 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.074, allocations: 7.938 kB / 1.247 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004928/1.074, allocations: 121.9 kB / 1.247 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005866/1.075, allocations: 127.8 kB / 1.247 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003109/1.078, allocations: 3.432 MB / 1.25 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005763/1.079, allocations: 48 kB / 1.25 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/1.079, allocations: 23.98 kB / 1.25 GB, free: 10.6 MB / 0.9512 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.0002519/1.079, allocations: 190.8 kB / 1.251 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/1.079, allocations: 51.44 kB / 1.251 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/1.081, allocations: 0.7862 MB / 1.251 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.081, allocations: 4.125 kB / 1.251 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.081, allocations: 4 kB / 1.251 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/1.081, allocations: 11.92 kB / 1.251 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003173/1.084, allocations: 1.608 MB / 1.253 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.084, allocations: 416 / 1.253 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005204/1.085, allocations: 111.8 kB / 1.253 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002482/1.085, allocations: 68.8 kB / 1.253 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/1.085, allocations: 16 kB / 1.253 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/1.087, allocations: 1.771 MB / 1.255 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.087, allocations: 11.92 kB / 1.255 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/1.089, allocations: 1.016 MB / 1.256 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/1.089, allocations: 132.5 kB / 1.256 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/1.089, allocations: 19.92 kB / 1.256 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005218/1.09, allocations: 27.98 kB / 1.256 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-05/1.09, allocations: 43.95 kB / 1.256 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.113e-05/1.09, allocations: 23.98 kB / 1.256 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004287/1.09, allocations: 358.8 kB / 1.257 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.01e-07/1.09, allocations: 0 / 1.257 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003968/1.094, allocations: 1.386 MB / 1.258 GB, free: 2.637 MB / 0.9512 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.007425/1.102, allocations: 0.7682 MB / 1.259 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002093/1.104, allocations: 0.8153 MB / 1.259 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.104, allocations: 0 / 1.259 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00081/1.105, allocations: 386.5 kB / 1.26 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/1.106, allocations: 342.8 kB / 1.26 GB, free: 312 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/1.108, allocations: 1.185 MB / 1.261 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/1.109, allocations: 0.8789 MB / 1.262 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005335/1.109, allocations: 146.5 kB / 1.262 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/1.11, allocations: 63.36 kB / 1.262 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/1.11, allocations: 0 / 1.262 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of Templates: time 0.08212/1.192, allocations: 63.99 MB / 1.325 GB, free: 14.67 MB / 1.029 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 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1)