Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.CoolingOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",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.001348/0.001348, allocations: 173.9 kB / 7.648 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.8333/0.8333, allocations: 133.6 MB / 141.6 MB, free: 2.871 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.438/1.438, allocations: 221.5 MB / 395.5 MB, free: 10.73 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.0008916/0.0008916, allocations: 101.1 kB / 478.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.523e-05/2.524e-05, allocations: 4 kB / 0.5536 GB, free: 8.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4788/0.4788, allocations: 82.3 MB / 0.6339 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.645/6.124, allocations: 2.145 GB / 2.779 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/6.124, allocations: 95.94 kB / 2.779 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.126/9.25, allocations: 0.8745 GB / 3.653 GB, free: 50.21 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.734e-06/9.25, allocations: 0 / 3.653 GB, free: 50.21 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002041/9.25, allocations: 61.25 kB / 3.653 GB, free: 50.16 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.00497/9.255, allocations: 2.357 MB / 3.655 GB, free: 47.79 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/9.255, allocations: 8.031 kB / 3.655 GB, free: 47.79 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/9.257, allocations: 378.7 kB / 3.656 GB, free: 47.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003941/9.261, allocations: 2.05 MB / 3.658 GB, free: 45.37 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.786e-05/9.261, allocations: 40 kB / 3.658 GB, free: 45.33 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/9.261, allocations: 86.66 kB / 3.658 GB, free: 45.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001806/9.263, allocations: 1.114 MB / 3.659 GB, free: 44.13 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/9.265, allocations: 1.378 MB / 3.66 GB, free: 42.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/9.265, allocations: 4 kB / 3.66 GB, free: 42.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/9.265, allocations: 0 / 3.66 GB, free: 42.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.427e-05/9.265, allocations: 46.53 kB / 3.66 GB, free: 42.65 MB / 0.6823 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.00796/9.273, allocations: 6.162 MB / 3.666 GB, free: 36.31 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009876/9.274, allocations: 0.8605 MB / 3.667 GB, free: 35.46 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005909/9.275, allocations: 0.5694 MB / 3.668 GB, free: 34.89 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006057/9.276, allocations: 0.6851 MB / 3.669 GB, free: 34.05 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/9.276, allocations: 42.97 kB / 3.669 GB, free: 34.01 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=83): time 3.336e-06/9.276, allocations: 0 / 3.669 GB, free: 34.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=85): time 0.005025/9.281, allocations: 2.722 MB / 3.671 GB, free: 31.22 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/9.281, allocations: 196.7 kB / 3.671 GB, free: 30.99 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/9.283, allocations: 1.498 MB / 3.673 GB, free: 29.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/9.283, allocations: 29.7 kB / 3.673 GB, free: 29.46 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005606/9.283, allocations: 0.8973 MB / 3.674 GB, free: 28.55 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/9.284, allocations: 279.7 kB / 3.674 GB, free: 28.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/9.284, allocations: 6.406 kB / 3.674 GB, free: 28.27 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.439e-05/9.284, allocations: 343.1 kB / 3.674 GB, free: 27.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005947/9.284, allocations: 0.561 MB / 3.675 GB, free: 27.37 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000714/9.285, allocations: 0.8219 MB / 3.676 GB, free: 26.46 MB / 0.6823 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.003649/9.289, allocations: 2.143 MB / 3.678 GB, free: 24.28 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/9.289, allocations: 1.969 kB / 3.678 GB, free: 24.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002284/9.291, allocations: 1.536 MB / 3.679 GB, free: 22.74 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004294/9.292, allocations: 1.648 MB / 3.681 GB, free: 20.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/9.292, allocations: 0 / 3.681 GB, free: 20.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/9.292, allocations: 12 kB / 3.681 GB, free: 20.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006981/9.292, allocations: 185.9 kB / 3.681 GB, free: 20.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/9.292, allocations: 11.94 kB / 3.681 GB, free: 20.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/9.294, allocations: 93.5 kB / 3.681 GB, free: 20.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/9.294, allocations: 51.98 kB / 3.681 GB, free: 20.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/9.294, allocations: 4 kB / 3.681 GB, free: 20.61 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001936/9.296, allocations: 1.457 MB / 3.683 GB, free: 19.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/9.296, allocations: 4 kB / 3.683 GB, free: 19.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/9.296, allocations: 8 kB / 3.683 GB, free: 19.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000666/9.297, allocations: 177.3 kB / 3.683 GB, free: 18.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/9.297, allocations: 11.94 kB / 3.683 GB, free: 18.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/9.298, allocations: 99.12 kB / 3.683 GB, free: 18.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/9.298, allocations: 44 kB / 3.683 GB, free: 18.83 MB / 0.6823 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: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0003139/9.299, allocations: 235.6 kB / 3.683 GB, free: 18.58 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001858/9.301, allocations: 1.18 MB / 3.684 GB, free: 17.39 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000394/9.301, allocations: 173.8 kB / 3.685 GB, free: 17.22 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/9.303, allocations: 1.256 MB / 3.686 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/9.303, allocations: 12 kB / 3.686 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/9.303, allocations: 0 / 3.686 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001435/9.305, allocations: 1.36 MB / 3.687 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005608/9.31, allocations: 3.235 MB / 3.69 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/9.31, allocations: 6.531 kB / 3.69 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007277/9.311, allocations: 171.7 kB / 3.69 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.541e-05/9.311, allocations: 8 kB / 3.69 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.788e-05/9.311, allocations: 16 kB / 3.69 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/9.311, allocations: 10.78 kB / 3.691 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/9.311, allocations: 7.938 kB / 3.691 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/9.314, allocations: 2.491 MB / 3.693 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009661/9.315, allocations: 430.8 kB / 3.693 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004293/9.315, allocations: 12 kB / 3.693 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/9.317, allocations: 85.8 kB / 3.693 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/9.317, allocations: 98.84 kB / 3.694 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-05/9.317, allocations: 39.98 kB / 3.694 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001987/9.319, allocations: 1.137 MB / 3.695 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/9.319, allocations: 4 kB / 3.695 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003793/9.323, allocations: 0.9059 MB / 3.696 GB, free: 5.629 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * 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.00726/9.33, allocations: 6.539 MB / 3.702 GB, free: 15.37 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004313/9.334, allocations: 2.955 MB / 3.705 GB, free: 12.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/9.334, allocations: 0 / 3.705 GB, free: 12.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/9.336, allocations: 0.9641 MB / 3.706 GB, free: 11.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005022/9.341, allocations: 0.8379 MB / 3.707 GB, free: 10.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009611/9.35, allocations: 3.511 MB / 3.71 GB, free: 7.008 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001839/9.352, allocations: 1.573 MB / 3.712 GB, free: 5.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003234/9.356, allocations: 0.5945 MB / 3.712 GB, free: 4.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/9.357, allocations: 0.7336 MB / 3.713 GB, free: 4.176 MB / 0.698 GB Notification: Performance of SimCode: time 8.62e-07/9.357, allocations: 2.656 kB / 3.713 GB, free: 4.176 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.636/9.993, allocations: 64.81 MB / 3.776 GB, free: 96.63 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/9.993, allocations: 169.2 kB / 3.776 GB, free: 96.44 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.136/14.13, allocations: 0 / 3.776 GB, free: 96.44 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)