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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 182.8 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4924/0.4924, allocations: 90.81 MB / 104.5 MB, free: 13.9 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 221.3 MB / 348.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008639/0.000864, allocations: 94.12 kB / 421.2 MB, free: 5.762 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.98e-05/2.992e-05, allocations: 4 kB / 0.4896 GB, free: 46.64 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1548, allocations: 72.32 MB / 0.5602 GB, free: 6.418 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.271/5.426, allocations: 2.138 GB / 2.698 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/5.427, allocations: 98.19 kB / 2.698 GB, free: 3.336 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.97/10.4, allocations: 1.251 GB / 3.949 GB, free: 45.46 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.303e-06/10.4, allocations: 0 / 3.949 GB, free: 45.46 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005326/10.4, allocations: 92.5 kB / 3.95 GB, free: 45.44 MB / 0.6511 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.008571/10.41, allocations: 3.624 MB / 3.953 GB, free: 43.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/10.41, allocations: 18.62 kB / 3.953 GB, free: 43.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002894/10.41, allocations: 0.5343 MB / 3.954 GB, free: 43.39 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007358/10.42, allocations: 3.394 MB / 3.957 GB, free: 42.78 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/10.42, allocations: 165.3 kB / 3.957 GB, free: 42.78 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006272/10.42, allocations: 219.7 kB / 3.957 GB, free: 42.77 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004842/10.42, allocations: 2.527 MB / 3.96 GB, free: 42.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.428e-05/10.42, allocations: 0 / 3.96 GB, free: 42.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002491/10.42, allocations: 90.08 kB / 3.96 GB, free: 42.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.025e-05/10.42, allocations: 74.92 kB / 3.96 GB, free: 42.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003153/10.43, allocations: 1.922 MB / 3.962 GB, free: 42.48 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.013/10.44, allocations: 10.5 MB / 3.972 GB, free: 39.09 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/10.44, allocations: 1.452 MB / 3.974 GB, free: 39.05 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/10.44, allocations: 0.9843 MB / 3.974 GB, free: 39.04 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007833/10.44, allocations: 1.184 MB / 3.976 GB, free: 37.72 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/10.44, allocations: 53.36 kB / 3.976 GB, free: 37.68 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=126): time 3.256e-06/10.44, allocations: 0 / 3.976 GB, free: 37.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=134): time 0.007552/10.45, allocations: 5.328 MB / 3.981 GB, free: 36.16 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.465e-05/10.45, allocations: 336.9 kB / 3.981 GB, free: 35.78 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003883/10.45, allocations: 3.052 MB / 3.984 GB, free: 35.54 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002094/10.45, allocations: 60.14 kB / 3.984 GB, free: 35.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009441/10.45, allocations: 1.471 MB / 3.986 GB, free: 35.14 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/10.45, allocations: 460.8 kB / 3.986 GB, free: 34.85 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-05/10.45, allocations: 33.28 kB / 3.986 GB, free: 34.85 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.893e-05/10.46, allocations: 369.8 kB / 3.986 GB, free: 34.54 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/10.46, allocations: 1.039 MB / 3.988 GB, free: 34.54 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/10.46, allocations: 1.466 MB / 3.989 GB, free: 34.12 MB / 0.6511 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.005941/10.46, allocations: 4.201 MB / 3.993 GB, free: 33.23 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/10.46, allocations: 0 / 3.993 GB, free: 33.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004114/10.47, allocations: 3.268 MB / 3.996 GB, free: 32.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005724/10.47, allocations: 2.936 MB / 3.999 GB, free: 29.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/10.47, allocations: 7.25 kB / 3.999 GB, free: 29.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004408/10.47, allocations: 154.4 kB / 3.999 GB, free: 29.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009332/10.47, allocations: 262 kB / 4 GB, free: 29.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006937/10.47, allocations: 1.287 MB / 4.001 GB, free: 28.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/10.47, allocations: 213.2 kB / 4.001 GB, free: 28.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/10.47, allocations: 85.28 kB / 4.001 GB, free: 28.49 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/10.47, allocations: 9.172 kB / 4.001 GB, free: 28.48 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003607/10.48, allocations: 3.343 MB / 4.004 GB, free: 28.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/10.48, allocations: 7.188 kB / 4.004 GB, free: 28.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003826/10.48, allocations: 157.5 kB / 4.004 GB, free: 28.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008907/10.48, allocations: 262.1 kB / 4.005 GB, free: 28.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000628/10.48, allocations: 1.29 MB / 4.006 GB, free: 26.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/10.48, allocations: 209.4 kB / 4.006 GB, free: 26.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/10.48, allocations: 82.03 kB / 4.006 GB, free: 26.98 MB / 0.6511 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: 26 * Number of states: 0 () * Number of discrete variables: 8 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004933/10.48, allocations: 397.9 kB / 4.007 GB, free: 26.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005867/10.48, allocations: 324.8 kB / 4.007 GB, free: 26.51 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003437/10.49, allocations: 2.476 MB / 4.009 GB, free: 26.21 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/10.49, allocations: 17.56 kB / 4.009 GB, free: 26.21 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/10.49, allocations: 3.797 kB / 4.009 GB, free: 26.21 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002373/10.49, allocations: 2.217 MB / 4.012 GB, free: 25.75 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009944/10.5, allocations: 5.909 MB / 4.017 GB, free: 24.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/10.5, allocations: 6.5 kB / 4.017 GB, free: 24.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/10.5, allocations: 262.7 kB / 4.018 GB, free: 24.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/10.5, allocations: 13.03 kB / 4.018 GB, free: 24.98 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/10.5, allocations: 47.36 kB / 4.018 GB, free: 24.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/10.5, allocations: 11.34 kB / 4.018 GB, free: 24.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/10.5, allocations: 13.67 kB / 4.018 GB, free: 24.98 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005077/10.5, allocations: 4.568 MB / 4.022 GB, free: 23.53 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002436/10.51, allocations: 0.7158 MB / 4.023 GB, free: 23.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004471/10.51, allocations: 42.17 kB / 4.023 GB, free: 23.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/10.51, allocations: 168.1 kB / 4.023 GB, free: 23.25 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003313/10.51, allocations: 154.4 kB / 4.023 GB, free: 23.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/10.51, allocations: 60.09 kB / 4.023 GB, free: 23.25 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00374/10.51, allocations: 2.366 MB / 4.026 GB, free: 23.09 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.382e-06/10.51, allocations: 0 / 4.026 GB, free: 23.09 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005044/10.52, allocations: 1.506 MB / 4.027 GB, free: 23.02 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (conHea.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,conCoo.I.y,beaCooHea.watCoo_a.h_outflow,beaCooHea.watHea_a.h_outflow) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004074/10.52, allocations: 2.872 MB / 4.03 GB, free: 22.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005751/10.53, allocations: 5.609 MB / 4.035 GB, free: 20.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/10.53, allocations: 6.438 kB / 4.035 GB, free: 20.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002075/10.53, allocations: 1.867 MB / 4.037 GB, free: 20.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008254/10.54, allocations: 1.604 MB / 4.039 GB, free: 20.08 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009008/10.55, allocations: 5.285 MB / 4.044 GB, free: 18.82 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/10.55, allocations: 2.156 MB / 4.046 GB, free: 18.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004362/10.55, allocations: 1.059 MB / 4.047 GB, free: 17.97 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003666/10.55, allocations: 158.4 kB / 4.047 GB, free: 17.97 MB / 0.6511 GB Notification: Performance of SimCode: time 1.683e-06/10.55, allocations: 0 / 4.047 GB, free: 17.97 MB / 0.6511 GB Notification: Performance of Templates: time 0.1448/10.7, allocations: 100.5 MB / 4.145 GB, free: 6.848 MB / 0.6823 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)