Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001388/0.001388, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7938/0.7938, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.28 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1456, allocations: 80.21 MB / 0.6604 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating): time 0.5747/0.7204, allocations: 266.2 MB / 0.9203 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02977/0.7502, allocations: 21.79 MB / 0.9416 GB, free: 5.941 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004575/0.7548, allocations: 127.3 kB / 0.9417 GB, free: 5.816 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004513/0.7593, allocations: 1.778 MB / 0.9435 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.7696, allocations: 4.188 MB / 0.9475 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006375/0.776, allocations: 2.732 MB / 0.9502 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009773/0.7858, allocations: 8.048 MB / 0.9581 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004984/0.7908, allocations: 3.014 MB / 0.961 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008939/0.7997, allocations: 3.612 MB / 0.9645 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003928/0.8037, allocations: 2.27 MB / 0.9668 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001073/0.8048, allocations: 400 kB / 0.9671 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005817/0.8106, allocations: 2.757 MB / 0.9698 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001408/0.812, allocations: 1.184 MB / 0.971 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003257/0.8153, allocations: 2.146 MB / 0.9731 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00935/0.8247, allocations: 7.252 MB / 0.9802 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8247, allocations: 0 / 0.9802 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8247, allocations: 0 / 0.9802 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001511/0.8248, allocations: 0 / 0.9802 GB, free: 14.32 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.008409/0.8333, allocations: 4.695 MB / 0.9847 GB, free: 9.461 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.8333, allocations: 8.031 kB / 0.9848 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.8352, allocations: 0.534 MB / 0.9853 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005422/0.8406, allocations: 3.265 MB / 0.9885 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.8408, allocations: 164 kB / 0.9886 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003465/0.8411, allocations: 216 kB / 0.9888 GB, free: 5.215 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004078/0.8452, allocations: 2.591 MB / 0.9914 GB, free: 2.539 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/0.8453, allocations: 8 kB / 0.9914 GB, free: 2.531 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/0.8454, allocations: 84 kB / 0.9914 GB, free: 2.449 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.507e-05/0.8455, allocations: 79.88 kB / 0.9915 GB, free: 2.371 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003125/0.8487, allocations: 1.995 MB / 0.9935 GB, free: 384 kB / 0.7481 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.01313/0.8618, allocations: 10.7 MB / 1.004 GB, free: 5.176 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/0.864, allocations: 1.546 MB / 1.005 GB, free: 3.605 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.8653, allocations: 1.039 MB / 1.006 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009466/0.8663, allocations: 1.172 MB / 1.008 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.8663, allocations: 55.56 kB / 1.008 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=124): time 3.897e-06/0.8663, allocations: 0 / 1.008 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of matching and sorting (n=132): time 0.009363/0.8757, allocations: 6.168 MB / 1.014 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.8758, allocations: 238.6 kB / 1.014 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00439/0.8802, allocations: 3.454 MB / 1.017 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001386/0.8804, allocations: 61.7 kB / 1.017 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.8816, allocations: 1.483 MB / 1.019 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000364/0.882, allocations: 449.4 kB / 1.019 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004766/0.8824, allocations: 327.3 kB / 1.02 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.8825, allocations: 301.1 kB / 1.02 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/0.884, allocations: 1.118 MB / 1.021 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/0.8858, allocations: 1.505 MB / 1.022 GB, free: 1.613 MB / 0.7794 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.009523/0.8953, allocations: 6.947 MB / 1.029 GB, free: 10.31 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.8953, allocations: 11.94 kB / 1.029 GB, free: 10.3 MB / 0.795 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004623/0.9, allocations: 3.366 MB / 1.032 GB, free: 6.844 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002106/0.9002, allocations: 388.3 kB / 1.033 GB, free: 6.391 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.9002, allocations: 7.984 kB / 1.033 GB, free: 6.383 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001961/0.9004, allocations: 94.2 kB / 1.033 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.9015, allocations: 275.6 kB / 1.033 GB, free: 6.016 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/0.9041, allocations: 3.258 MB / 1.036 GB, free: 2.48 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/0.906, allocations: 96.05 kB / 1.036 GB, free: 2.387 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.9061, allocations: 71.98 kB / 1.037 GB, free: 2.316 MB / 0.795 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002578/0.9087, allocations: 1.87 MB / 1.038 GB, free: 456 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001705/0.9104, allocations: 1.49 MB / 1.04 GB, free: 14.82 MB / 0.8106 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_lambda0): time 0.009454/0.9199, allocations: 6.908 MB / 1.047 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.962e-06/0.9199, allocations: 0 / 1.047 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of matching and sorting (n=203) (initialization_lambda0): time 0.004679/0.9246, allocations: 3.366 MB / 1.05 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002083/0.9248, allocations: 384.4 kB / 1.05 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.9249, allocations: 8 kB / 1.05 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/0.925, allocations: 81.67 kB / 1.05 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.9261, allocations: 275.6 kB / 1.051 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3017/1.228, allocations: 3.251 MB / 1.054 GB, free: 310.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/1.231, allocations: 105.8 kB / 1.054 GB, free: 310.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003217/1.231, allocations: 68.45 kB / 1.054 GB, free: 310.2 MB / 0.8106 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 8 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 12 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006111/1.232, allocations: 462.2 kB / 1.054 GB, free: 309.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008814/1.233, allocations: 325.7 kB / 1.055 GB, free: 309.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004131/1.237, allocations: 2.527 MB / 1.057 GB, free: 309.6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002749/1.24, allocations: 2.24 MB / 1.059 GB, free: 308.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/1.24, allocations: 0.75 kB / 1.059 GB, free: 308.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001437/1.241, allocations: 0.67 MB / 1.06 GB, free: 308.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003999/1.241, allocations: 37.44 kB / 1.06 GB, free: 308.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/1.243, allocations: 73.39 kB / 1.06 GB, free: 308.4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/1.243, allocations: 138.6 kB / 1.06 GB, free: 308.4 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00419/1.247, allocations: 2.714 MB / 1.063 GB, free: 306.9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005569/1.253, allocations: 3.997 MB / 1.067 GB, free: 305.2 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001295/1.254, allocations: 1.037 MB / 1.068 GB, free: 304.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003999/1.258, allocations: 2.393 MB / 1.07 GB, free: 303.8 MB / 0.8106 GB Notification: Performance of Backend: time 6.91e-07/1.258, allocations: 0 / 1.07 GB, free: 303.8 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.008817/1.267, allocations: 6.058 MB / 1.076 GB, free: 300.4 MB / 0.8106 GB Notification: Performance of SimCode: time 0.01268/1.28, allocations: 7.378 MB / 1.083 GB, free: 296.9 MB / 0.8106 GB Notification: Performance of Templates: time 0.09239/1.372, allocations: 75.86 MB / 1.157 GB, free: 231.2 MB / 0.8106 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)