Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 92.95 kB / 16.02 MB, free: 84 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.001469/0.00147, allocations: 183.4 kB / 16.92 MB, free: 6.934 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.428/1.428, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7241/0.7241, allocations: 123 MB / 415.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003239, allocations: 12.56 kB / 0.4933 GB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4148, allocations: 79.28 MB / 0.5707 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly): time 0.2455/0.6602, allocations: 222.6 MB / 0.7881 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02158/0.6819, allocations: 14.55 MB / 0.8023 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00271/0.6846, allocations: 71.56 kB / 0.8024 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003027/0.6877, allocations: 0.9325 MB / 0.8033 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007077/0.6948, allocations: 2.5 MB / 0.8058 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004411/0.6992, allocations: 1.631 MB / 0.8074 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007548/0.7068, allocations: 6.326 MB / 0.8135 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002728/0.7095, allocations: 1.532 MB / 0.815 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3366/1.046, allocations: 1.981 MB / 0.817 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00317/1.049, allocations: 1.325 MB / 0.8183 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004999/1.05, allocations: 73.06 kB / 0.8183 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005247/1.055, allocations: 2.139 MB / 0.8204 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001056/1.056, allocations: 0.5766 MB / 0.821 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002208/1.058, allocations: 1.114 MB / 0.8221 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007849/1.066, allocations: 4.302 MB / 0.8263 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/1.066, allocations: 3.656 kB / 0.8263 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.623e-06/1.066, allocations: 1.5 kB / 0.8263 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001106/1.066, allocations: 0.7812 kB / 0.8263 GB, free: 15.2 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.005621/1.072, allocations: 2.494 MB / 0.8287 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/1.072, allocations: 9.344 kB / 0.8287 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002136/1.074, allocations: 379.7 kB / 0.8291 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003725/1.078, allocations: 1.909 MB / 0.831 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.215e-05/1.078, allocations: 107.3 kB / 0.8311 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002681/1.078, allocations: 138.3 kB / 0.8312 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003061/1.081, allocations: 1.61 MB / 0.8328 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.933e-05/1.082, allocations: 5.188 kB / 0.8328 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/1.082, allocations: 54.38 kB / 0.8328 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-05/1.082, allocations: 52.16 kB / 0.8329 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/1.084, allocations: 1.242 MB / 0.8341 GB, free: 12.95 MB / 0.6387 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.009297/1.093, allocations: 6.636 MB / 0.8406 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/1.095, allocations: 0.9587 MB / 0.8415 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/1.096, allocations: 0.6324 MB / 0.8421 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000587/1.097, allocations: 0.6841 MB / 0.8428 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/1.097, allocations: 44.53 kB / 0.8428 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 4.979e-06/1.097, allocations: 0 / 0.8428 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84): time 0.007479/1.104, allocations: 3.612 MB / 0.8464 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/1.105, allocations: 149.4 kB / 0.8465 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002953/1.107, allocations: 2 MB / 0.8484 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001442/1.108, allocations: 44.89 kB / 0.8485 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006217/1.108, allocations: 0.8863 MB / 0.8494 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/1.109, allocations: 292 kB / 0.8496 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/1.109, allocations: 97.3 kB / 0.8497 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.863e-05/1.109, allocations: 351.1 kB / 0.8501 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008/1.11, allocations: 0.6146 MB / 0.8507 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008958/1.11, allocations: 0.8489 MB / 0.8515 GB, free: 7.188 MB / 0.6387 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005437/1.116, allocations: 3.917 MB / 0.8553 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.116, allocations: 1.75 kB / 0.8553 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002528/1.118, allocations: 1.871 MB / 0.8571 GB, free: 5.941 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/1.119, allocations: 396.8 kB / 0.8575 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/1.119, allocations: 3.156 kB / 0.8575 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/1.119, allocations: 8.469 kB / 0.8575 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007108/1.119, allocations: 189.9 kB / 0.8577 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/1.119, allocations: 5 kB / 0.8577 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/1.121, allocations: 122.9 kB / 0.8578 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.611e-05/1.121, allocations: 42.14 kB / 0.8579 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.413e-06/1.121, allocations: 3.594 kB / 0.8579 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002095/1.123, allocations: 1.868 MB / 0.8597 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.123, allocations: 5.219 kB / 0.8597 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/1.123, allocations: 8.562 kB / 0.8597 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006522/1.124, allocations: 176.9 kB / 0.8599 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/1.124, allocations: 8.562 kB / 0.8599 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/1.126, allocations: 120.8 kB / 0.86 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-05/1.126, allocations: 39.45 kB / 0.86 GB, free: 5.289 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * 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.001067/1.127, allocations: 0.7111 MB / 0.8607 GB, free: 4.996 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003309/1.127, allocations: 197.1 kB / 0.8609 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/1.129, allocations: 1.476 MB / 0.8624 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/1.129, allocations: 10.12 kB / 0.8624 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.129, allocations: 4 kB / 0.8624 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001648/1.131, allocations: 1.519 MB / 0.8639 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005332/1.136, allocations: 3.599 MB / 0.8674 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/1.136, allocations: 3.375 kB / 0.8674 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006833/1.137, allocations: 164.3 kB / 0.8675 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/1.137, allocations: 12.03 kB / 0.8676 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.588e-05/1.137, allocations: 22.44 kB / 0.8676 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.898e-06/1.137, allocations: 14.34 kB / 0.8676 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/1.137, allocations: 4.281 kB / 0.8676 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/1.14, allocations: 2.375 MB / 0.8699 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000864/1.141, allocations: 447.9 kB / 0.8703 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/1.141, allocations: 33.27 kB / 0.8704 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/1.142, allocations: 102 kB / 0.8705 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/1.142, allocations: 96.83 kB / 0.8706 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-05/1.142, allocations: 40.8 kB / 0.8706 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001872/1.144, allocations: 1.398 MB / 0.872 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.31e-07/1.144, allocations: 4 kB / 0.872 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00238/1.147, allocations: 0.7921 MB / 0.8727 GB, free: 2.629 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (conPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * 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.0008913/1.147, allocations: 406.1 kB / 0.8731 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003068/1.151, allocations: 3.078 MB / 0.8761 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.301e-06/1.151, allocations: 2.438 kB / 0.8761 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/1.152, allocations: 0.9969 MB / 0.8771 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006588/1.158, allocations: 1.017 MB / 0.8781 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005754/1.164, allocations: 4.53 MB / 0.8825 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/1.165, allocations: 1.521 MB / 0.884 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001924/1.167, allocations: 441.8 kB / 0.8844 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003834/1.168, allocations: 138 kB / 0.8846 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of SimCode: time 1.964e-06/1.168, allocations: 0 / 0.8846 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of Templates: time 0.06414/1.232, allocations: 40.24 MB / 0.9239 GB, free: 15.83 MB / 0.6856 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)