Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.HeatingOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",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.007816/0.007817, allocations: 169.5 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.9257/0.9257, allocations: 135.2 MB / 151 MB, free: 13.84 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.436/1.436, allocations: 223.2 MB / 406.8 MB, free: 3.258 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.0009341/0.0009341, allocations: 102.4 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003607, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4491/0.4495, allocations: 82.29 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.254/5.704, allocations: 2.147 GB / 2.797 GB, free: 42.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/5.704, allocations: 105.1 kB / 2.797 GB, free: 42.92 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.601/10.3, allocations: 1.246 GB / 4.043 GB, free: 74.78 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.135e-06/10.3, allocations: 0 / 4.043 GB, free: 74.78 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003919/10.31, allocations: 79.8 kB / 4.043 GB, free: 74.77 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: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.01085/10.32, allocations: 4.14 MB / 4.047 GB, free: 72.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/10.32, allocations: 9.438 kB / 4.047 GB, free: 72.45 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001018/10.32, allocations: 274.5 kB / 4.048 GB, free: 72.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/10.32, allocations: 0.5052 MB / 4.048 GB, free: 72.21 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007911/10.33, allocations: 3.325 MB / 4.051 GB, free: 71.61 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/10.33, allocations: 158 kB / 4.052 GB, free: 71.61 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003807/10.33, allocations: 207.8 kB / 4.052 GB, free: 71.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00414/10.33, allocations: 2.418 MB / 4.054 GB, free: 71.39 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.519e-05/10.33, allocations: 0 / 4.054 GB, free: 71.39 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/10.33, allocations: 84.47 kB / 4.054 GB, free: 71.39 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.458e-05/10.33, allocations: 70.7 kB / 4.054 GB, free: 71.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002963/10.34, allocations: 1.899 MB / 4.056 GB, free: 71.38 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.01458/10.35, allocations: 9.829 MB / 4.066 GB, free: 68.34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/10.35, allocations: 1.385 MB / 4.067 GB, free: 68.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007755/10.35, allocations: 1.176 MB / 4.068 GB, free: 66.99 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/10.35, allocations: 45.12 kB / 4.068 GB, free: 66.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=113): time 3.266e-06/10.35, allocations: 5.906 kB / 4.068 GB, free: 66.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=115): time 0.009764/10.36, allocations: 6.211 MB / 4.074 GB, free: 64.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/10.36, allocations: 283.2 kB / 4.075 GB, free: 64.59 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004872/10.37, allocations: 3.008 MB / 4.078 GB, free: 64.36 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003207/10.37, allocations: 59.61 kB / 4.078 GB, free: 64.33 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001086/10.37, allocations: 1.412 MB / 4.079 GB, free: 63.97 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003965/10.37, allocations: 398.1 kB / 4.079 GB, free: 63.72 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.928e-05/10.37, allocations: 29.03 kB / 4.079 GB, free: 63.72 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.427e-05/10.37, allocations: 355.6 kB / 4.08 GB, free: 63.42 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/10.37, allocations: 1.02 MB / 4.081 GB, free: 63.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/10.37, allocations: 1.439 MB / 4.082 GB, free: 63.02 MB / 0.7292 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.004871/10.38, allocations: 2.958 MB / 4.085 GB, free: 62.24 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/10.38, allocations: 3.562 kB / 4.085 GB, free: 62.24 MB / 0.7292 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004574/10.38, allocations: 3.078 MB / 4.088 GB, free: 61.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007056/10.38, allocations: 2.914 MB / 4.091 GB, free: 58.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/10.38, allocations: 6.781 kB / 4.091 GB, free: 58.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.709e-05/10.38, allocations: 13.28 kB / 4.091 GB, free: 58.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/10.38, allocations: 260.8 kB / 4.091 GB, free: 58.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003412/10.38, allocations: 0.613 MB / 4.092 GB, free: 57.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/10.39, allocations: 175.8 kB / 4.092 GB, free: 57.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001855/10.39, allocations: 79.16 kB / 4.092 GB, free: 57.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/10.39, allocations: 7.609 kB / 4.092 GB, free: 57.91 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00373/10.39, allocations: 3.186 MB / 4.095 GB, free: 56.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/10.39, allocations: 3 kB / 4.095 GB, free: 56.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/10.39, allocations: 14 kB / 4.095 GB, free: 56.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009166/10.39, allocations: 256.4 kB / 4.095 GB, free: 56.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/10.39, allocations: 17.97 kB / 4.095 GB, free: 56.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/10.4, allocations: 180.1 kB / 4.096 GB, free: 56.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/10.4, allocations: 77.72 kB / 4.096 GB, free: 56.28 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: 7 (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,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002218/10.4, allocations: 1.085 MB / 4.097 GB, free: 55.51 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008706/10.4, allocations: 311.3 kB / 4.097 GB, free: 55.35 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003601/10.4, allocations: 2.363 MB / 4.099 GB, free: 54.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/10.4, allocations: 11.03 kB / 4.099 GB, free: 54.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/10.4, allocations: 5.594 kB / 4.099 GB, free: 54.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002313/10.4, allocations: 2.139 MB / 4.101 GB, free: 53.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/10.42, allocations: 5.615 MB / 4.107 GB, free: 50.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/10.42, allocations: 3.781 kB / 4.107 GB, free: 50.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/10.42, allocations: 229.7 kB / 4.107 GB, free: 50.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.637e-05/10.42, allocations: 15.12 kB / 4.107 GB, free: 50.32 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/10.42, allocations: 40.84 kB / 4.107 GB, free: 50.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000305/10.42, allocations: 0.607 MB / 4.108 GB, free: 49.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/10.42, allocations: 10.97 kB / 4.108 GB, free: 49.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006156/10.42, allocations: 4.449 MB / 4.112 GB, free: 46.97 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002603/10.43, allocations: 0.6848 MB / 4.113 GB, free: 46.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/10.43, allocations: 37.91 kB / 4.113 GB, free: 46.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002529/10.43, allocations: 152.4 kB / 4.113 GB, free: 46.46 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003217/10.43, allocations: 151.5 kB / 4.113 GB, free: 46.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/10.43, allocations: 56.78 kB / 4.113 GB, free: 46.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.005239/10.44, allocations: 2.335 MB / 4.115 GB, free: 45.47 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.91e-07/10.44, allocations: 0 / 4.115 GB, free: 45.47 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007719/10.44, allocations: 1.458 MB / 4.117 GB, free: 45.21 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 5 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],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 (113): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01181/10.46, allocations: 9 MB / 4.126 GB, free: 39.69 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0066/10.46, allocations: 5.35 MB / 4.131 GB, free: 36.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/10.46, allocations: 4.125 kB / 4.131 GB, free: 36.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002187/10.46, allocations: 1.848 MB / 4.133 GB, free: 35.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008331/10.47, allocations: 1.588 MB / 4.134 GB, free: 35.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/10.49, allocations: 12.24 MB / 4.146 GB, free: 23.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002679/10.49, allocations: 2.069 MB / 4.148 GB, free: 22.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003789/10.5, allocations: 0.6254 MB / 4.149 GB, free: 21.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002151/10.5, allocations: 1.275 MB / 4.15 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of SimCode: time 8.41e-07/10.5, allocations: 0 / 4.15 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6692/11.17, allocations: 121.4 MB / 4.269 GB, free: 76.44 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/11.17, allocations: 249 kB / 4.269 GB, free: 76.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.492/17.66, allocations: 0 / 4.269 GB, free: 76.11 MB / 0.7448 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)