Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001297/0.001297, allocations: 119.4 kB / 17.09 MB, free: 6.012 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.001288/0.001288, allocations: 193.6 kB / 18.02 MB, free: 5.094 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.273/1.273, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.688/0.688, allocations: 115.3 MB / 407.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.001181, allocations: 69.89 kB / 0.5584 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1242, allocations: 76.18 MB / 0.6328 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating): time 0.5654/0.6897, allocations: 266.2 MB / 0.8927 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03067/0.7204, allocations: 21.81 MB / 0.914 GB, free: 12.29 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004975/0.7255, allocations: 127.3 kB / 0.9141 GB, free: 12.16 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005004/0.7305, allocations: 1.739 MB / 0.9158 GB, free: 10.41 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01106/0.7416, allocations: 3.982 MB / 0.9197 GB, free: 6.414 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006574/0.7482, allocations: 2.735 MB / 0.9224 GB, free: 3.699 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01064/0.7589, allocations: 8.051 MB / 0.9303 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004797/0.7637, allocations: 2.994 MB / 0.9332 GB, free: 8.57 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008087/0.7718, allocations: 3.577 MB / 0.9367 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004369/0.7762, allocations: 2.264 MB / 0.9389 GB, free: 2.715 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001181/0.7774, allocations: 404 kB / 0.9393 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00686/0.7842, allocations: 2.745 MB / 0.942 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001937/0.7862, allocations: 1.188 MB / 0.9431 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.003897/0.7901, allocations: 2.139 MB / 0.9452 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0112/0.8014, allocations: 7.236 MB / 0.9523 GB, free: 4.973 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.8014, allocations: 0 / 0.9523 GB, free: 4.973 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8014, allocations: 0 / 0.9523 GB, free: 4.973 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001746/0.8016, allocations: 0 / 0.9523 GB, free: 4.973 MB / 0.7012 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.009895/0.8115, allocations: 4.676 MB / 0.9568 GB, free: 140 kB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.8116, allocations: 12.03 kB / 0.9569 GB, free: 128 kB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0025/0.8141, allocations: 0.5341 MB / 0.9574 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006397/0.8205, allocations: 3.269 MB / 0.9606 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.8207, allocations: 167.9 kB / 0.9607 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006236/0.8213, allocations: 219.9 kB / 0.9609 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005173/0.8265, allocations: 2.585 MB / 0.9635 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.675e-05/0.8266, allocations: 7.938 kB / 0.9635 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/0.8268, allocations: 87.98 kB / 0.9636 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-05/0.8269, allocations: 75.89 kB / 0.9636 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003451/0.8304, allocations: 1.998 MB / 0.9656 GB, free: 7.031 MB / 0.7169 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.01424/0.8446, allocations: 10.7 MB / 0.976 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/0.8468, allocations: 1.529 MB / 0.9775 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.8481, allocations: 1.031 MB / 0.9785 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008836/0.849, allocations: 1.18 MB / 0.9797 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.8491, allocations: 51.59 kB / 0.9797 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=124): time 3.737e-06/0.8491, allocations: 0 / 0.9797 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of matching and sorting (n=132): time 0.009802/0.8589, allocations: 6.177 MB / 0.9858 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.859, allocations: 238.6 kB / 0.986 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005618/0.8646, allocations: 3.451 MB / 0.9894 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000273/0.8649, allocations: 61.64 kB / 0.9894 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001317/0.8663, allocations: 1.479 MB / 0.9909 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000518/0.8668, allocations: 453.4 kB / 0.9913 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006084/0.8674, allocations: 335.4 kB / 0.9916 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.552e-05/0.8675, allocations: 305.1 kB / 0.9919 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.869, allocations: 1.11 MB / 0.993 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.8708, allocations: 1.497 MB / 0.9945 GB, free: 8.289 MB / 0.7481 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.009782/0.8806, allocations: 6.972 MB / 1.001 GB, free: 0.9648 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.8807, allocations: 4 kB / 1.001 GB, free: 0.9609 MB / 0.7481 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004869/0.8856, allocations: 3.374 MB / 1.005 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002132/0.8858, allocations: 380.4 kB / 1.005 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.8858, allocations: 4 kB / 1.005 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002103/0.886, allocations: 85.67 kB / 1.005 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.8871, allocations: 279.5 kB / 1.005 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/0.8896, allocations: 3.254 MB / 1.008 GB, free: 9.156 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/0.8918, allocations: 99.89 kB / 1.009 GB, free: 9.059 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002304/0.892, allocations: 67.98 kB / 1.009 GB, free: 8.992 MB / 0.7637 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.002786/0.8948, allocations: 1.867 MB / 1.01 GB, free: 7.125 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001797/0.8966, allocations: 1.501 MB / 1.012 GB, free: 5.492 MB / 0.7637 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.009477/0.9061, allocations: 6.91 MB / 1.019 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.164e-06/0.9061, allocations: 0 / 1.019 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=203) (initialization_lambda0): time 0.004797/0.9109, allocations: 3.354 MB / 1.022 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002106/0.9112, allocations: 388.5 kB / 1.022 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.9112, allocations: 11.94 kB / 1.022 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001634/0.9114, allocations: 89.69 kB / 1.022 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.9124, allocations: 275.6 kB / 1.023 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/0.9149, allocations: 3.262 MB / 1.026 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/0.9171, allocations: 103.9 kB / 1.026 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/0.9173, allocations: 67.98 kB / 1.026 GB, free: 6.246 MB / 0.7794 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.000539/0.9178, allocations: 474.1 kB / 1.026 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007543/0.9186, allocations: 327.9 kB / 1.027 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003753/0.9223, allocations: 2.526 MB / 1.029 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002699/0.925, allocations: 2.245 MB / 1.031 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.9251, allocations: 0 / 1.031 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/0.9264, allocations: 0.6689 MB / 1.032 GB, free: 15.82 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006209/0.9271, allocations: 32 kB / 1.032 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/0.9285, allocations: 71.84 kB / 1.032 GB, free: 15.72 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/0.9288, allocations: 137.1 kB / 1.032 GB, free: 15.58 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003907/0.9327, allocations: 2.718 MB / 1.035 GB, free: 12.75 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005089/0.9378, allocations: 3.976 MB / 1.039 GB, free: 8.715 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001288/0.9391, allocations: 1.037 MB / 1.04 GB, free: 7.68 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003949/0.9431, allocations: 2.393 MB / 1.042 GB, free: 5.301 MB / 0.795 GB Notification: Performance of Backend: time 5.11e-07/0.9431, allocations: 0 / 1.042 GB, free: 5.301 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.2612/1.204, allocations: 6.065 MB / 1.048 GB, free: 322.2 MB / 0.795 GB Notification: Performance of SimCode: time 0.01261/1.217, allocations: 7.37 MB / 1.055 GB, free: 319.3 MB / 0.795 GB Notification: Performance of Templates: time 0.08925/1.306, allocations: 75.82 MB / 1.129 GB, free: 261.8 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)