Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="IDEAS_dev_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.00105/0.00105, allocations: 171.8 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8235/0.8235, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.859/1.859, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.000992/0.0009923, allocations: 101.7 kB / 478.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.078e-05/2.079e-05, allocations: 4 kB / 0.5536 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5275/0.5276, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.623/6.15, allocations: 2.147 GB / 2.78 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/6.15, allocations: 98.5 kB / 2.781 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.943/11.09, allocations: 1.235 GB / 4.015 GB, free: 62.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.635e-06/11.09, allocations: 4.594 kB / 4.015 GB, free: 62.55 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003583/11.09, allocations: 79.67 kB / 4.015 GB, free: 62.54 MB / 0.7136 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.008556/11.1, allocations: 3.475 MB / 4.019 GB, free: 60.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/11.1, allocations: 8.688 kB / 4.019 GB, free: 60.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002834/11.11, allocations: 0.5147 MB / 4.019 GB, free: 60.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009824/11.11, allocations: 3.294 MB / 4.022 GB, free: 59.99 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/11.12, allocations: 63.23 kB / 4.022 GB, free: 59.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001093/11.12, allocations: 132.4 kB / 4.023 GB, free: 59.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004901/11.12, allocations: 1.723 MB / 4.024 GB, free: 59.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004149/11.13, allocations: 2.102 MB / 4.026 GB, free: 59.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.766e-05/11.13, allocations: 3.188 kB / 4.026 GB, free: 59.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/11.13, allocations: 6.688 kB / 4.026 GB, free: 59.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-05/11.13, allocations: 68.98 kB / 4.026 GB, free: 59.77 MB / 0.7136 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.01441/11.14, allocations: 9.397 MB / 4.036 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/11.14, allocations: 1.288 MB / 4.037 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009762/11.14, allocations: 0.897 MB / 4.038 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008599/11.14, allocations: 1.175 MB / 4.039 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/11.14, allocations: 53.98 kB / 4.039 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=113): time 3.998e-06/11.14, allocations: 0 / 4.039 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=115): time 0.008655/11.15, allocations: 4.215 MB / 4.043 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/11.15, allocations: 282.6 kB / 4.043 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004102/11.16, allocations: 2.548 MB / 4.046 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002914/11.16, allocations: 33.27 kB / 4.046 GB, free: 53.95 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001001/11.16, allocations: 1.417 MB / 4.047 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/11.16, allocations: 382.2 kB / 4.048 GB, free: 53.28 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.07e-05/11.16, allocations: 3.75 kB / 4.048 GB, free: 53.28 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001025/11.16, allocations: 360.7 kB / 4.048 GB, free: 52.97 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/11.16, allocations: 0.9659 MB / 4.049 GB, free: 52.97 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/11.16, allocations: 1.369 MB / 4.05 GB, free: 52.57 MB / 0.7136 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.004629/11.17, allocations: 2.508 MB / 4.053 GB, free: 52.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/11.17, allocations: 5.906 kB / 4.053 GB, free: 52.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004254/11.17, allocations: 2.565 MB / 4.055 GB, free: 51.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000681/11.17, allocations: 2.877 MB / 4.058 GB, free: 49.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/11.17, allocations: 3.781 kB / 4.058 GB, free: 49.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/11.17, allocations: 14.5 kB / 4.058 GB, free: 49.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/11.17, allocations: 258.1 kB / 4.058 GB, free: 49.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003523/11.17, allocations: 0.6229 MB / 4.059 GB, free: 48.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/11.17, allocations: 144.7 kB / 4.059 GB, free: 48.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/11.18, allocations: 83.02 kB / 4.059 GB, free: 48.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/11.18, allocations: 3.344 kB / 4.059 GB, free: 48.43 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003654/11.18, allocations: 2.499 MB / 4.061 GB, free: 48.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/11.18, allocations: 6.938 kB / 4.061 GB, free: 48.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/11.18, allocations: 19.11 kB / 4.061 GB, free: 48.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009333/11.18, allocations: 250.8 kB / 4.062 GB, free: 48.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/11.18, allocations: 15.25 kB / 4.062 GB, free: 48.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002658/11.18, allocations: 142.7 kB / 4.062 GB, free: 48.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/11.18, allocations: 81.88 kB / 4.062 GB, free: 48.38 MB / 0.7136 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 () * 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.0005624/11.18, allocations: 332.5 kB / 4.062 GB, free: 48.08 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003497/11.19, allocations: 1.901 MB / 4.064 GB, free: 47.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006508/11.19, allocations: 282.4 kB / 4.064 GB, free: 47.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/11.19, allocations: 2.014 MB / 4.066 GB, free: 47.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/11.19, allocations: 14.28 kB / 4.066 GB, free: 47.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/11.19, allocations: 0 / 4.066 GB, free: 47.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00223/11.19, allocations: 1.844 MB / 4.068 GB, free: 47.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/11.21, allocations: 5.047 MB / 4.073 GB, free: 46.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/11.21, allocations: 3.875 kB / 4.073 GB, free: 46.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/11.21, allocations: 229.9 kB / 4.073 GB, free: 46.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-05/11.21, allocations: 8.969 kB / 4.073 GB, free: 46.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/11.21, allocations: 25.8 kB / 4.073 GB, free: 46.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002685/11.21, allocations: 0.6113 MB / 4.074 GB, free: 46.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/11.21, allocations: 4.375 kB / 4.074 GB, free: 46.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005311/11.21, allocations: 3.973 MB / 4.078 GB, free: 45.03 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00261/11.22, allocations: 0.6501 MB / 4.078 GB, free: 44.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00133/11.22, allocations: 19.97 kB / 4.078 GB, free: 44.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002703/11.22, allocations: 125.2 kB / 4.079 GB, free: 44.78 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003818/11.22, allocations: 161.5 kB / 4.079 GB, free: 44.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001961/11.22, allocations: 50.55 kB / 4.079 GB, free: 44.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.005114/11.23, allocations: 1.934 MB / 4.081 GB, free: 44.63 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/11.23, allocations: 0 / 4.081 GB, free: 44.63 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006669/11.23, allocations: 1.352 MB / 4.082 GB, free: 44.56 MB / 0.7136 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) * 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.01087/11.24, allocations: 8.692 MB / 4.091 GB, free: 40.74 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006285/11.25, allocations: 5.242 MB / 4.096 GB, free: 39.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/11.25, allocations: 0 / 4.096 GB, free: 39.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002043/11.25, allocations: 1.791 MB / 4.097 GB, free: 38.83 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007698/11.26, allocations: 1.358 MB / 4.099 GB, free: 38.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/11.28, allocations: 5.464 MB / 4.104 GB, free: 37.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002986/11.28, allocations: 2.078 MB / 4.106 GB, free: 36.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.005162/11.28, allocations: 0.951 MB / 4.107 GB, free: 36.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001819/11.29, allocations: 1.209 MB / 4.108 GB, free: 36.62 MB / 0.7136 GB Notification: Performance of SimCode: time 1.683e-06/11.29, allocations: 0 / 4.108 GB, free: 36.62 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1721/11.46, allocations: 98.34 MB / 4.204 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/11.46, allocations: 182 kB / 4.204 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.583/17.04, allocations: 0 / 4.204 GB, free: 5.246 MB / 0.7292 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)