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.001784/0.001784, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001758, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.466/1.466, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.718/2.718, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 67.89 kB / 0.8693 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7122/0.7145, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1976/0.9122, allocations: 162.7 MB / 1.176 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01304/0.9253, allocations: 8.877 MB / 1.185 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005885/0.9259, allocations: 15.94 kB / 1.185 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.927, allocations: 349.8 kB / 1.185 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002763/0.9298, allocations: 1.096 MB / 1.186 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005048/0.9349, allocations: 2.115 MB / 1.188 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00158/0.9364, allocations: 1.38 MB / 1.19 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000641/0.9371, allocations: 441.4 kB / 1.19 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005287/0.9424, allocations: 2.085 MB / 1.192 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002823/0.9452, allocations: 1.299 MB / 1.193 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.326e-05/0.9453, allocations: 52 kB / 1.193 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005353/0.9507, allocations: 2.809 MB / 1.196 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.9509, allocations: 163.5 kB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004819/0.9514, allocations: 354.4 kB / 1.197 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002991/0.9544, allocations: 2.221 MB / 1.199 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.9544, allocations: 0 / 1.199 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9544, allocations: 0 / 1.199 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.9544, allocations: 0 / 1.199 GB, free: 7.887 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.001912/0.9563, allocations: 1.002 MB / 1.2 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.9564, allocations: 12.03 kB / 1.2 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.9575, allocations: 143.3 kB / 1.2 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006195/0.9581, allocations: 425.5 kB / 1.2 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/0.9582, allocations: 37.31 kB / 1.2 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.379e-05/0.9583, allocations: 51.94 kB / 1.2 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.9596, allocations: 0.6721 MB / 1.201 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.9596, allocations: 4 kB / 1.201 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.537e-05/0.9597, allocations: 24 kB / 1.201 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.9597, allocations: 15.94 kB / 1.201 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.9608, allocations: 499.5 kB / 1.202 GB, free: 4.891 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.003685/0.9645, allocations: 3.002 MB / 1.205 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006358/0.9652, allocations: 270.4 kB / 1.205 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.9655, allocations: 164.8 kB / 1.205 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01907/0.9846, allocations: 5.762 MB / 1.211 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.524e-05/0.9847, allocations: 38.56 kB / 1.211 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=36): time 2.976e-06/0.9847, allocations: 0 / 1.211 GB, free: 11.18 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.1023/1.087, allocations: 31.63 MB / 1.242 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/1.087, allocations: 133 kB / 1.242 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006663/1.088, allocations: 377.5 kB / 1.242 GB, free: 11 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.8e-05/1.088, allocations: 33.7 kB / 1.242 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/1.088, allocations: 292.2 kB / 1.242 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/1.089, allocations: 181.4 kB / 1.243 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/1.089, allocations: 114.1 kB / 1.243 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002198/1.089, allocations: 354.8 kB / 1.243 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000623/1.09, allocations: 233 kB / 1.243 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007448/1.09, allocations: 376.4 kB / 1.244 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/1.092, allocations: 0.5903 MB / 1.244 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.092, allocations: 4 kB / 1.244 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002218/1.094, allocations: 0.7936 MB / 1.245 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/1.094, allocations: 7.938 kB / 1.245 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/1.094, allocations: 4 kB / 1.245 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005435/1.095, allocations: 125.9 kB / 1.245 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006183/1.095, allocations: 123.9 kB / 1.245 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003965/1.099, allocations: 3.433 MB / 1.249 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006713/1.1, allocations: 43.91 kB / 1.249 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-05/1.1, allocations: 23.98 kB / 1.249 GB, free: 3.883 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.0003797/1.1, allocations: 193.8 kB / 1.249 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002699/1.101, allocations: 51.44 kB / 1.249 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/1.103, allocations: 0.7892 MB / 1.25 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.103, allocations: 4 kB / 1.25 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.103, allocations: 3.984 kB / 1.25 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/1.103, allocations: 0 / 1.25 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003789/1.107, allocations: 1.606 MB / 1.251 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.107, allocations: 0 / 1.251 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005692/1.107, allocations: 112.2 kB / 1.251 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003223/1.107, allocations: 72.8 kB / 1.251 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.571e-05/1.108, allocations: 19.98 kB / 1.251 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5545/1.662, allocations: 1.766 MB / 1.253 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/1.662, allocations: 7.391 kB / 1.253 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002454/1.664, allocations: 1.018 MB / 1.254 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/1.665, allocations: 128.7 kB / 1.254 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/1.665, allocations: 23.56 kB / 1.254 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005155/1.665, allocations: 31.62 kB / 1.254 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/1.665, allocations: 38.83 kB / 1.254 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.363e-05/1.666, allocations: 23.98 kB / 1.254 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005627/1.666, allocations: 359.7 kB / 1.255 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.666, allocations: 0.7188 kB / 1.255 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005837/1.672, allocations: 1.386 MB / 1.256 GB, free: 220.1 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.008586/1.681, allocations: 0.7714 MB / 1.257 GB, free: 220 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002312/1.683, allocations: 0.8345 MB / 1.258 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.683, allocations: 1.438 kB / 1.258 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008575/1.684, allocations: 391.5 kB / 1.258 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/1.686, allocations: 343.9 kB / 1.258 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/1.688, allocations: 1.201 MB / 1.259 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/1.689, allocations: 0.8771 MB / 1.26 GB, free: 218 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007933/1.69, allocations: 144.2 kB / 1.26 GB, free: 218 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/1.69, allocations: 63.52 kB / 1.261 GB, free: 218 MB / 0.9981 GB Notification: Performance of SimCode: time 2.044e-06/1.69, allocations: 0 / 1.261 GB, free: 218 MB / 0.9981 GB Notification: Performance of Templates: time 0.09854/1.788, allocations: 64.02 MB / 1.323 GB, free: 179.4 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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1)