Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 104.5 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 188.8 kB / 22.1 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.116/3.116, allocations: 495.8 MB / 0.783 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 59.41 kB / 1.137 GB, free: 33.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3834, allocations: 173.6 MB / 1.307 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.2744/0.6577, allocations: 161.7 MB / 1.465 GB, free: 15.5 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01583/0.6736, allocations: 8.852 MB / 1.473 GB, free: 6.621 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.6746, allocations: 23.81 kB / 1.473 GB, free: 6.598 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001586/0.6762, allocations: 357.8 kB / 1.474 GB, free: 6.246 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004429/0.6807, allocations: 1.147 MB / 1.475 GB, free: 5.098 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.007434/0.6881, allocations: 2.15 MB / 1.477 GB, free: 2.953 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002812/0.6909, allocations: 1.399 MB / 1.478 GB, free: 1.551 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.6919, allocations: 358.2 kB / 1.479 GB, free: 1.191 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006807/0.6987, allocations: 2.21 MB / 1.481 GB, free: 14.97 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003775/0.7025, allocations: 1.281 MB / 1.482 GB, free: 13.69 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002678/0.7028, allocations: 55.94 kB / 1.482 GB, free: 13.63 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007885/0.7107, allocations: 2.852 MB / 1.485 GB, free: 10.78 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004088/0.7111, allocations: 159.4 kB / 1.485 GB, free: 10.62 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008546/0.7119, allocations: 346.5 kB / 1.485 GB, free: 10.28 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00599/0.7179, allocations: 2.205 MB / 1.488 GB, free: 8.07 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.7179, allocations: 0 / 1.488 GB, free: 8.07 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7179, allocations: 4 kB / 1.488 GB, free: 8.066 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.727e-05/0.718, allocations: 0 / 1.488 GB, free: 8.066 MB / 1.186 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.002874/0.7208, allocations: 0.9486 MB / 1.488 GB, free: 7.086 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.7209, allocations: 12.03 kB / 1.488 GB, free: 7.074 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.7221, allocations: 151.6 kB / 1.489 GB, free: 6.926 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008618/0.723, allocations: 379.2 kB / 1.489 GB, free: 6.527 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.47e-05/0.723, allocations: 37.31 kB / 1.489 GB, free: 6.488 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.441e-05/0.7231, allocations: 56 kB / 1.489 GB, free: 6.434 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.7244, allocations: 0.6565 MB / 1.49 GB, free: 5.73 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.7245, allocations: 7.938 kB / 1.49 GB, free: 5.723 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.696e-05/0.7245, allocations: 20 kB / 1.49 GB, free: 5.703 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.7246, allocations: 23.88 kB / 1.49 GB, free: 5.68 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.7257, allocations: 499.6 kB / 1.49 GB, free: 5.191 MB / 1.186 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.004379/0.7301, allocations: 2.928 MB / 1.493 GB, free: 2.039 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007299/0.7309, allocations: 258.2 kB / 1.493 GB, free: 1.777 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004043/0.7313, allocations: 160.8 kB / 1.493 GB, free: 1.617 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02007/0.7513, allocations: 4.916 MB / 1.498 GB, free: 12.7 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.495e-05/0.7514, allocations: 42.5 kB / 1.498 GB, free: 12.64 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 2.775e-06/0.7514, allocations: 0 / 1.498 GB, free: 12.64 MB / 1.201 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.1021/0.8535, allocations: 31.65 MB / 1.529 GB, free: 13 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.8537, allocations: 141 kB / 1.529 GB, free: 12.83 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005499/0.8542, allocations: 377.6 kB / 1.53 GB, free: 12.45 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.954e-05/0.8543, allocations: 33.7 kB / 1.53 GB, free: 12.41 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.8545, allocations: 296.8 kB / 1.53 GB, free: 12.12 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.8547, allocations: 194.3 kB / 1.53 GB, free: 11.93 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.8549, allocations: 106.3 kB / 1.53 GB, free: 11.82 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.8551, allocations: 358.8 kB / 1.531 GB, free: 11.46 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006145/0.8557, allocations: 241.2 kB / 1.531 GB, free: 11.22 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007452/0.8565, allocations: 369.4 kB / 1.531 GB, free: 10.81 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.8578, allocations: 0.5942 MB / 1.532 GB, free: 10.17 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.8578, allocations: 3.938 kB / 1.532 GB, free: 10.17 MB / 1.232 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002176/0.8599, allocations: 0.786 MB / 1.533 GB, free: 9.367 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.86, allocations: 11.94 kB / 1.533 GB, free: 9.355 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.86, allocations: 4.375 kB / 1.533 GB, free: 9.352 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000564/0.8605, allocations: 129.6 kB / 1.533 GB, free: 9.219 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006326/0.8612, allocations: 131.8 kB / 1.533 GB, free: 9.09 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003796/0.865, allocations: 3.211 MB / 1.536 GB, free: 5.652 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006367/0.8656, allocations: 39.91 kB / 1.536 GB, free: 5.613 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.55e-05/0.8657, allocations: 27.98 kB / 1.536 GB, free: 5.586 MB / 1.232 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.0003605/0.866, allocations: 197.7 kB / 1.536 GB, free: 5.383 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.8662, allocations: 55.67 kB / 1.536 GB, free: 5.328 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.8683, allocations: 0.7815 MB / 1.537 GB, free: 4.535 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.8683, allocations: 12 kB / 1.537 GB, free: 4.523 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.8683, allocations: 0 / 1.537 GB, free: 4.523 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.8683, allocations: 3.984 kB / 1.537 GB, free: 4.52 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/0.8719, allocations: 1.586 MB / 1.539 GB, free: 2.84 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.8719, allocations: 128 / 1.539 GB, free: 2.84 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005569/0.8724, allocations: 111.8 kB / 1.539 GB, free: 2.73 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002793/0.8727, allocations: 60.81 kB / 1.539 GB, free: 2.668 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.481e-05/0.8728, allocations: 19.98 kB / 1.539 GB, free: 2.648 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/0.8747, allocations: 1.668 MB / 1.54 GB, free: 0.8711 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.8747, allocations: 7.969 kB / 1.54 GB, free: 0.8633 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/0.8771, allocations: 1.021 MB / 1.541 GB, free: 15.78 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.8772, allocations: 67.61 kB / 1.542 GB, free: 15.71 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.8773, allocations: 11.94 kB / 1.542 GB, free: 15.7 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005059/0.8778, allocations: 32.05 kB / 1.542 GB, free: 15.67 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.8779, allocations: 47.86 kB / 1.542 GB, free: 15.62 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-05/0.878, allocations: 27.92 kB / 1.542 GB, free: 15.59 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.000532/0.8785, allocations: 346.9 kB / 1.542 GB, free: 15.25 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.8785, allocations: 0 / 1.542 GB, free: 15.25 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.004987/0.8835, allocations: 1.398 MB / 1.543 GB, free: 13.86 MB / 1.248 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.009201/0.8927, allocations: 0.7737 MB / 1.544 GB, free: 13.09 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002335/0.895, allocations: 0.7725 MB / 1.545 GB, free: 12.29 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.8951, allocations: 4 kB / 1.545 GB, free: 12.29 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0008967/0.8959, allocations: 375.2 kB / 1.545 GB, free: 11.91 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.8979, allocations: 333.8 kB / 1.546 GB, free: 11.59 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.9004, allocations: 1.205 MB / 1.547 GB, free: 10.32 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005855/0.9009, allocations: 0.879 MB / 1.548 GB, free: 9.41 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006025/0.9015, allocations: 144.7 kB / 1.548 GB, free: 9.277 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.9018, allocations: 67.41 kB / 1.548 GB, free: 9.211 MB / 1.248 GB Notification: Performance of SimCode: time 1.292e-06/0.9018, allocations: 0 / 1.548 GB, free: 9.211 MB / 1.248 GB Notification: Performance of Templates: time 0.7888/1.691, allocations: 64.38 MB / 1.611 GB, free: 282.5 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 12.335266594775021] Failed to read output from testmodel.py, exit status != 0: 1.6983660394325852 1.712211276 0.991256222 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f0bc63417b0>