Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005482/0.005482, allocations: 170.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7102/0.7102, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 406.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009017/0.000902, allocations: 94.88 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003691, allocations: 11.98 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4108, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.109/5.52, allocations: 2.147 GB / 2.797 GB, free: 42.58 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/5.52, allocations: 113 kB / 2.797 GB, free: 42.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.408/9.929, allocations: 1.25 GB / 4.047 GB, free: 71.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.375e-06/9.929, allocations: 0 / 4.047 GB, free: 71.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004077/9.929, allocations: 84.41 kB / 4.047 GB, free: 71.25 MB / 0.7292 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.01125/9.94, allocations: 4.325 MB / 4.051 GB, free: 68.92 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/9.94, allocations: 10.94 kB / 4.051 GB, free: 68.92 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001233/9.942, allocations: 298.1 kB / 4.052 GB, free: 68.87 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002814/9.944, allocations: 0.5307 MB / 4.052 GB, free: 68.66 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007958/9.952, allocations: 3.429 MB / 4.056 GB, free: 68.05 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/9.953, allocations: 167.8 kB / 4.056 GB, free: 68.05 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004022/9.953, allocations: 219.2 kB / 4.056 GB, free: 68.05 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004185/9.957, allocations: 2.577 MB / 4.058 GB, free: 67.78 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.556e-05/9.957, allocations: 7.125 kB / 4.058 GB, free: 67.78 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002389/9.958, allocations: 88.41 kB / 4.059 GB, free: 67.78 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-05/9.958, allocations: 79.17 kB / 4.059 GB, free: 67.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003119/9.961, allocations: 2.02 MB / 4.061 GB, free: 67.76 MB / 0.7292 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.02256/9.983, allocations: 10.5 MB / 4.071 GB, free: 64.36 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003655/9.987, allocations: 1.545 MB / 4.072 GB, free: 64.31 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/9.988, allocations: 1.179 MB / 4.073 GB, free: 63 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/9.988, allocations: 55.03 kB / 4.074 GB, free: 62.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=126): time 5.861e-06/9.988, allocations: 0 / 4.074 GB, free: 62.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=134): time 0.0166/10, allocations: 6.794 MB / 4.08 GB, free: 60.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/10.01, allocations: 343.3 kB / 4.08 GB, free: 60.49 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006148/10.01, allocations: 3.091 MB / 4.084 GB, free: 60.26 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003973/10.01, allocations: 60.39 kB / 4.084 GB, free: 60.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001442/10.01, allocations: 1.464 MB / 4.085 GB, free: 59.86 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005068/10.01, allocations: 458.5 kB / 4.085 GB, free: 59.57 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/10.01, allocations: 32.16 kB / 4.085 GB, free: 59.57 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001174/10.01, allocations: 364.7 kB / 4.086 GB, free: 59.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/10.02, allocations: 1.084 MB / 4.087 GB, free: 59.26 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/10.02, allocations: 1.522 MB / 4.088 GB, free: 58.84 MB / 0.7292 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.007341/10.02, allocations: 4.268 MB / 4.093 GB, free: 57.95 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/10.02, allocations: 0 / 4.093 GB, free: 57.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00523/10.03, allocations: 3.331 MB / 4.096 GB, free: 57.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007682/10.03, allocations: 2.94 MB / 4.099 GB, free: 54.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/10.03, allocations: 10.61 kB / 4.099 GB, free: 54.26 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004851/10.03, allocations: 146.6 kB / 4.099 GB, free: 54.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/10.03, allocations: 260.7 kB / 4.099 GB, free: 54.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008943/10.03, allocations: 1.289 MB / 4.1 GB, free: 53.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00315/10.04, allocations: 192.8 kB / 4.1 GB, free: 53.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002598/10.04, allocations: 82.73 kB / 4.101 GB, free: 53.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/10.04, allocations: 3.031 kB / 4.101 GB, free: 53.2 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00434/10.04, allocations: 3.421 MB / 4.104 GB, free: 52.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/10.04, allocations: 6.344 kB / 4.104 GB, free: 52.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004045/10.04, allocations: 153.5 kB / 4.104 GB, free: 52.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/10.04, allocations: 260.3 kB / 4.104 GB, free: 52.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008067/10.04, allocations: 1.298 MB / 4.106 GB, free: 51.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00341/10.05, allocations: 186.6 kB / 4.106 GB, free: 51.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002647/10.05, allocations: 87.08 kB / 4.106 GB, free: 51.65 MB / 0.7292 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 () * Number of clocked 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.002711/10.05, allocations: 1.116 MB / 4.107 GB, free: 50.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/10.05, allocations: 323.8 kB / 4.107 GB, free: 50.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004635/10.06, allocations: 2.549 MB / 4.11 GB, free: 49.54 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/10.06, allocations: 18.67 kB / 4.11 GB, free: 49.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/10.06, allocations: 0 / 4.11 GB, free: 49.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002952/10.06, allocations: 2.299 MB / 4.112 GB, free: 48.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/10.07, allocations: 5.987 MB / 4.118 GB, free: 45.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/10.07, allocations: 6.25 kB / 4.118 GB, free: 45.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/10.07, allocations: 271.1 kB / 4.118 GB, free: 45.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.108e-05/10.07, allocations: 10.38 kB / 4.118 GB, free: 45.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/10.07, allocations: 44.36 kB / 4.118 GB, free: 45.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.317e-05/10.07, allocations: 10.41 kB / 4.118 GB, free: 45.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/10.07, allocations: 12 kB / 4.118 GB, free: 45.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005671/10.08, allocations: 4.709 MB / 4.123 GB, free: 42.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002253/10.08, allocations: 0.7085 MB / 4.123 GB, free: 42.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/10.08, allocations: 41.59 kB / 4.124 GB, free: 42.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002394/10.08, allocations: 169.1 kB / 4.124 GB, free: 42.07 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003122/10.08, allocations: 169 kB / 4.124 GB, free: 42.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/10.08, allocations: 54.83 kB / 4.124 GB, free: 42.01 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004819/10.09, allocations: 2.4 MB / 4.126 GB, free: 41.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.11e-07/10.09, allocations: 0 / 4.126 GB, free: 41.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007712/10.1, allocations: 1.509 MB / 4.128 GB, free: 40.78 MB / 0.7292 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.U,vol.dynBal.mXi[1],conCoo.I.y,beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * 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) * Number of clocked states: 0 () * 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.0126/10.11, allocations: 9.195 MB / 4.137 GB, free: 35.24 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.007222/10.12, allocations: 5.616 MB / 4.142 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/10.12, allocations: 3.938 kB / 4.142 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0022/10.12, allocations: 1.903 MB / 4.144 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008616/10.13, allocations: 1.603 MB / 4.146 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/10.15, allocations: 12.81 MB / 4.158 GB, free: 21.11 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003022/10.15, allocations: 2.148 MB / 4.16 GB, free: 19.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003996/10.15, allocations: 0.6523 MB / 4.161 GB, free: 18.99 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002215/10.16, allocations: 1.365 MB / 4.162 GB, free: 17.73 MB / 0.7292 GB Notification: Performance of SimCode: time 8.676e-06/10.16, allocations: 0 / 4.162 GB, free: 17.73 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7592/10.92, allocations: 125.5 MB / 4.285 GB, free: 72.16 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/10.92, allocations: 262.7 kB / 4.285 GB, free: 71.8 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.586/18.5, allocations: 0 / 4.285 GB, free: 71.8 MB / 0.7448 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)