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.001392/0.001392, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7945/0.7945, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.619/1.619, allocations: 221.3 MB / 400.4 MB, free: 5.816 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009543/0.0009544, allocations: 89.41 kB / 483.3 MB, free: 5.832 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.386e-05/5.428e-05, allocations: 3.844 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1651, allocations: 82.29 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.482/5.647, allocations: 2.147 GB / 2.788 GB, free: 39.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/5.648, allocations: 99.88 kB / 2.788 GB, free: 39.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.157/10.81, allocations: 1.244 GB / 4.031 GB, free: 64.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.372e-06/10.81, allocations: 1.688 kB / 4.031 GB, free: 64.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0006181/10.81, allocations: 86.27 kB / 4.031 GB, free: 64.19 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.01017/10.82, allocations: 3.474 MB / 4.035 GB, free: 62.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/10.82, allocations: 6.844 kB / 4.035 GB, free: 62.16 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001292/10.82, allocations: 272.3 kB / 4.035 GB, free: 62.11 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003531/10.82, allocations: 0.5121 MB / 4.036 GB, free: 61.92 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009194/10.83, allocations: 3.293 MB / 4.039 GB, free: 61.28 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/10.83, allocations: 153.6 kB / 4.039 GB, free: 61.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008599/10.83, allocations: 207.9 kB / 4.039 GB, free: 61.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00639/10.84, allocations: 2.376 MB / 4.041 GB, free: 61.06 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-05/10.84, allocations: 1.531 kB / 4.041 GB, free: 61.06 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004723/10.84, allocations: 84.47 kB / 4.042 GB, free: 61.06 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.544e-05/10.84, allocations: 70.16 kB / 4.042 GB, free: 61.05 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003891/10.84, allocations: 1.829 MB / 4.043 GB, free: 61.03 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.01697/10.86, allocations: 9.817 MB / 4.053 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/10.86, allocations: 1.341 MB / 4.054 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/10.86, allocations: 0.9304 MB / 4.055 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008692/10.86, allocations: 1.178 MB / 4.056 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/10.86, allocations: 51.16 kB / 4.056 GB, free: 55.26 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=113): time 5.811e-06/10.86, allocations: 0 / 4.056 GB, free: 55.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=115): time 0.01151/10.87, allocations: 4.841 MB / 4.061 GB, free: 52.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/10.88, allocations: 284.2 kB / 4.061 GB, free: 52.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005005/10.88, allocations: 2.977 MB / 4.064 GB, free: 51.06 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002985/10.88, allocations: 58.08 kB / 4.064 GB, free: 51.01 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009877/10.88, allocations: 1.404 MB / 4.066 GB, free: 49.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003362/10.88, allocations: 389.4 kB / 4.066 GB, free: 49.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.399e-05/10.88, allocations: 29.81 kB / 4.066 GB, free: 49.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.935e-05/10.88, allocations: 364.8 kB / 4.067 GB, free: 49.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/10.88, allocations: 0.9891 MB / 4.067 GB, free: 48.87 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/10.88, allocations: 1.413 MB / 4.069 GB, free: 48.01 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.004669/10.89, allocations: 2.934 MB / 4.072 GB, free: 46.48 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/10.89, allocations: 2.031 kB / 4.072 GB, free: 46.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003836/10.89, allocations: 3.025 MB / 4.075 GB, free: 45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006289/10.89, allocations: 2.919 MB / 4.078 GB, free: 41.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/10.89, allocations: 4.531 kB / 4.078 GB, free: 41.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.911e-05/10.89, allocations: 16.52 kB / 4.078 GB, free: 41.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/10.89, allocations: 255.9 kB / 4.078 GB, free: 41.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003042/10.89, allocations: 0.612 MB / 4.078 GB, free: 41.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002594/10.9, allocations: 186.6 kB / 4.079 GB, free: 41.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/10.9, allocations: 77.66 kB / 4.079 GB, free: 41.19 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/10.9, allocations: 4.344 kB / 4.079 GB, free: 41.19 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003426/10.9, allocations: 3.125 MB / 4.082 GB, free: 39.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/10.9, allocations: 12.28 kB / 4.082 GB, free: 39.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/10.9, allocations: 9.844 kB / 4.082 GB, free: 39.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000882/10.9, allocations: 249.1 kB / 4.082 GB, free: 39.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/10.9, allocations: 16.94 kB / 4.082 GB, free: 39.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/10.9, allocations: 175 kB / 4.082 GB, free: 39.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/10.9, allocations: 81.67 kB / 4.082 GB, free: 39.6 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.0004761/10.91, allocations: 376.2 kB / 4.083 GB, free: 39.24 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004479/10.91, allocations: 308.8 kB / 4.083 GB, free: 39.08 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003249/10.91, allocations: 2.31 MB / 4.085 GB, free: 38.01 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/10.91, allocations: 14.31 kB / 4.085 GB, free: 38.01 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/10.91, allocations: 7.25 kB / 4.085 GB, free: 38.01 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002107/10.91, allocations: 2.087 MB / 4.087 GB, free: 36.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00849/10.92, allocations: 5.557 MB / 4.093 GB, free: 34.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/10.92, allocations: 4.5 kB / 4.093 GB, free: 34.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009229/10.92, allocations: 224.2 kB / 4.093 GB, free: 34.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/10.92, allocations: 12.69 kB / 4.093 GB, free: 34.15 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-05/10.92, allocations: 37.69 kB / 4.093 GB, free: 34.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002213/10.92, allocations: 0.6114 MB / 4.093 GB, free: 33.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/10.92, allocations: 10.94 kB / 4.093 GB, free: 33.53 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004075/10.93, allocations: 4.357 MB / 4.098 GB, free: 30.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001582/10.93, allocations: 0.6848 MB / 4.098 GB, free: 30.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000558/10.93, allocations: 34.38 kB / 4.098 GB, free: 30.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/10.93, allocations: 147.4 kB / 4.099 GB, free: 30.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002916/10.93, allocations: 157.6 kB / 4.099 GB, free: 30.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/10.93, allocations: 51.92 kB / 4.099 GB, free: 30.17 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003288/10.93, allocations: 2.307 MB / 4.101 GB, free: 28.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.21e-07/10.93, allocations: 0 / 4.101 GB, free: 28.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004511/10.94, allocations: 1.463 MB / 4.102 GB, free: 26.64 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.0084/10.95, allocations: 8.929 MB / 4.111 GB, free: 18.13 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005717/10.95, allocations: 5.382 MB / 4.116 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/10.95, allocations: 5.812 kB / 4.116 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001865/10.95, allocations: 1.827 MB / 4.118 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00812/10.96, allocations: 1.581 MB / 4.12 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/10.98, allocations: 5.65 MB / 4.125 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002382/10.98, allocations: 2.082 MB / 4.127 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.005094/10.98, allocations: 1.035 MB / 4.128 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0019/10.98, allocations: 1.22 MB / 4.13 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of SimCode: time 3.757e-06/10.98, allocations: 0 / 4.13 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7522/11.74, allocations: 132.1 MB / 4.258 GB, free: 88.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/11.74, allocations: 220.7 kB / 4.259 GB, free: 88.76 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.242/17.98, allocations: 3.938 kB / 4.259 GB, free: 88.75 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)