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.001254/0.001254, allocations: 170.5 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7345/0.7345, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.571/1.571, allocations: 221.3 MB / 400.4 MB, free: 5.852 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.0008884/0.0008885, allocations: 99.12 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/3.965e-05, allocations: 3.219 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1576, allocations: 82.3 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.608/5.766, allocations: 2.147 GB / 2.788 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/5.766, allocations: 98.75 kB / 2.788 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.077/10.84, allocations: 1.244 GB / 4.031 GB, free: 64.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.154e-06/10.84, allocations: 0 / 4.031 GB, free: 64.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0006076/10.84, allocations: 81.8 kB / 4.031 GB, free: 64.57 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.009545/10.85, allocations: 3.48 MB / 4.035 GB, free: 62.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/10.85, allocations: 9.812 kB / 4.035 GB, free: 62.54 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009796/10.85, allocations: 271 kB / 4.035 GB, free: 62.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003276/10.86, allocations: 0.5079 MB / 4.036 GB, free: 62.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009195/10.87, allocations: 3.302 MB / 4.039 GB, free: 61.26 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/10.87, allocations: 148.7 kB / 4.039 GB, free: 61.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008938/10.87, allocations: 213.5 kB / 4.039 GB, free: 61.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006467/10.87, allocations: 2.371 MB / 4.041 GB, free: 60.05 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.217e-05/10.87, allocations: 1.719 kB / 4.041 GB, free: 60.05 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004733/10.87, allocations: 83.42 kB / 4.042 GB, free: 59.99 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.93e-05/10.87, allocations: 70.12 kB / 4.042 GB, free: 59.99 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003843/10.88, allocations: 1.823 MB / 4.043 GB, free: 59.25 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.01624/10.89, allocations: 9.815 MB / 4.053 GB, free: 53.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/10.9, allocations: 1.347 MB / 4.054 GB, free: 52.62 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/10.9, allocations: 0.9326 MB / 4.055 GB, free: 52.24 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008296/10.9, allocations: 1.172 MB / 4.056 GB, free: 50.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/10.9, allocations: 54.97 kB / 4.056 GB, free: 50.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=113): time 3.266e-06/10.9, allocations: 0 / 4.056 GB, free: 50.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=115): time 0.008629/10.91, allocations: 4.838 MB / 4.061 GB, free: 48.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/10.91, allocations: 286.9 kB / 4.061 GB, free: 47.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005577/10.91, allocations: 2.979 MB / 4.064 GB, free: 46.49 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003448/10.91, allocations: 59.7 kB / 4.064 GB, free: 46.44 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/10.91, allocations: 1.414 MB / 4.066 GB, free: 45.21 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003681/10.91, allocations: 391.5 kB / 4.066 GB, free: 44.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.601e-05/10.92, allocations: 27.22 kB / 4.066 GB, free: 44.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.575e-05/10.92, allocations: 364.5 kB / 4.067 GB, free: 44.51 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/10.92, allocations: 0.9924 MB / 4.067 GB, free: 44.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/10.92, allocations: 1.411 MB / 4.069 GB, free: 43.07 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.004998/10.92, allocations: 2.932 MB / 4.072 GB, free: 40.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/10.92, allocations: 0 / 4.072 GB, free: 40.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004934/10.93, allocations: 3.026 MB / 4.075 GB, free: 37.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001081/10.93, allocations: 2.918 MB / 4.078 GB, free: 34.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/10.93, allocations: 4 kB / 4.078 GB, free: 34.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.942e-05/10.93, allocations: 16 kB / 4.078 GB, free: 34.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/10.93, allocations: 255.6 kB / 4.078 GB, free: 33.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004748/10.93, allocations: 0.6134 MB / 4.078 GB, free: 33.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003336/10.93, allocations: 179.6 kB / 4.079 GB, free: 32.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002298/10.93, allocations: 79.97 kB / 4.079 GB, free: 32.88 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/10.93, allocations: 5.25 kB / 4.079 GB, free: 32.88 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003665/10.94, allocations: 3.125 MB / 4.082 GB, free: 29.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/10.94, allocations: 4.75 kB / 4.082 GB, free: 29.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/10.94, allocations: 15.94 kB / 4.082 GB, free: 29.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009194/10.94, allocations: 251.6 kB / 4.082 GB, free: 29.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/10.94, allocations: 12 kB / 4.082 GB, free: 29.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002914/10.94, allocations: 175.5 kB / 4.082 GB, free: 29.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/10.94, allocations: 79.97 kB / 4.082 GB, free: 29.16 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.0005983/10.94, allocations: 387.1 kB / 4.083 GB, free: 28.74 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/10.94, allocations: 308.2 kB / 4.083 GB, free: 28.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003731/10.95, allocations: 2.296 MB / 4.085 GB, free: 26.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/10.95, allocations: 15.94 kB / 4.085 GB, free: 26.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/10.95, allocations: 7.562 kB / 4.085 GB, free: 26.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002068/10.95, allocations: 2.089 MB / 4.087 GB, free: 23.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00938/10.96, allocations: 5.557 MB / 4.093 GB, free: 18.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/10.96, allocations: 7.984 kB / 4.093 GB, free: 18.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009799/10.96, allocations: 231.4 kB / 4.093 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.499e-05/10.96, allocations: 11.66 kB / 4.093 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.738e-05/10.96, allocations: 39.98 kB / 4.093 GB, free: 17.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002309/10.96, allocations: 0.6132 MB / 4.093 GB, free: 17.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/10.96, allocations: 8 kB / 4.093 GB, free: 17.28 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0042/10.96, allocations: 4.36 MB / 4.098 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/10.97, allocations: 0.6729 MB / 4.098 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000378/10.97, allocations: 40 kB / 4.098 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/10.97, allocations: 151.7 kB / 4.099 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000262/10.97, allocations: 152.5 kB / 4.099 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/10.97, allocations: 55.97 kB / 4.099 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003175/10.97, allocations: 2.307 MB / 4.101 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.3e-07/10.97, allocations: 0 / 4.101 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004097/10.98, allocations: 1.462 MB / 4.102 GB, free: 7.773 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.007943/10.98, allocations: 8.925 MB / 4.111 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006431/10.99, allocations: 5.373 MB / 4.116 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/10.99, allocations: 0 / 4.116 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002452/10.99, allocations: 1.823 MB / 4.118 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008873/11, allocations: 1.592 MB / 4.12 GB, free: 5.707 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/11.01, allocations: 5.644 MB / 4.125 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00177/11.02, allocations: 2.08 MB / 4.127 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004151/11.02, allocations: 1.039 MB / 4.128 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/11.02, allocations: 1.226 MB / 4.13 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of SimCode: time 1.243e-06/11.02, allocations: 0 / 4.13 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7372/11.76, allocations: 132.1 MB / 4.258 GB, free: 84.81 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/11.76, allocations: 225.3 kB / 4.259 GB, free: 84.59 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.382/18.14, allocations: 0 / 4.259 GB, free: 84.59 MB / 0.7448 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)