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.001777/0.001777, allocations: 174.9 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.7564/0.7564, 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.54/1.54, 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.0008776/0.0008775, allocations: 100.8 kB / 483.3 MB, free: 5.902 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.601e-05/3.619e-05, allocations: 3.562 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1648, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.444/5.609, allocations: 2.145 GB / 2.786 GB, free: 41.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/5.609, allocations: 99.94 kB / 2.786 GB, free: 41.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.797/9.407, allocations: 0.8818 GB / 3.668 GB, free: 82.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.332e-06/9.407, allocations: 0 / 3.668 GB, free: 82.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004499/9.407, allocations: 54.98 kB / 3.668 GB, free: 82.7 MB / 0.698 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.007559/9.415, allocations: 2.354 MB / 3.67 GB, free: 81.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/9.415, allocations: 7.75 kB / 3.67 GB, free: 81.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007419/9.416, allocations: 197.3 kB / 3.67 GB, free: 81.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0025/9.418, allocations: 380.4 kB / 3.671 GB, free: 81.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005306/9.423, allocations: 2.051 MB / 3.673 GB, free: 81.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/9.424, allocations: 109.3 kB / 3.673 GB, free: 81.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000462/9.424, allocations: 135.7 kB / 3.673 GB, free: 81.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003436/9.428, allocations: 1.559 MB / 3.674 GB, free: 80.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.311e-05/9.428, allocations: 5.312 kB / 3.674 GB, free: 80.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002169/9.428, allocations: 57.52 kB / 3.674 GB, free: 80.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/9.428, allocations: 43.62 kB / 3.674 GB, free: 80.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/9.43, allocations: 1.186 MB / 3.676 GB, free: 80.86 MB / 0.698 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.01001/9.44, allocations: 6.468 MB / 3.682 GB, free: 78.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/9.441, allocations: 0.8932 MB / 3.683 GB, free: 78.63 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000759/9.442, allocations: 0.6068 MB / 3.683 GB, free: 78.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000595/9.443, allocations: 0.6801 MB / 3.684 GB, free: 77.87 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/9.443, allocations: 46.34 kB / 3.684 GB, free: 77.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 3.858e-06/9.443, allocations: 0 / 3.684 GB, free: 77.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.006101/9.449, allocations: 3.09 MB / 3.687 GB, free: 76.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.953e-05/9.449, allocations: 194 kB / 3.687 GB, free: 76.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00338/9.452, allocations: 1.78 MB / 3.689 GB, free: 76.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001416/9.453, allocations: 49.55 kB / 3.689 GB, free: 76.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007015/9.453, allocations: 0.8839 MB / 3.69 GB, free: 76.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002408/9.454, allocations: 290.3 kB / 3.69 GB, free: 75.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/9.454, allocations: 26.22 kB / 3.69 GB, free: 75.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.406e-05/9.454, allocations: 340.1 kB / 3.691 GB, free: 75.64 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007547/9.455, allocations: 0.574 MB / 3.691 GB, free: 75.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009326/9.455, allocations: 0.8437 MB / 3.692 GB, free: 75.39 MB / 0.698 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.004659/9.46, allocations: 2.372 MB / 3.694 GB, free: 74.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/9.46, allocations: 0 / 3.694 GB, free: 74.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002729/9.463, allocations: 1.798 MB / 3.696 GB, free: 74.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009724/9.464, allocations: 1.663 MB / 3.698 GB, free: 72.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/9.464, allocations: 3.844 kB / 3.698 GB, free: 72.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.144e-05/9.464, allocations: 11.44 kB / 3.698 GB, free: 72.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007294/9.465, allocations: 183.4 kB / 3.698 GB, free: 72.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.513e-05/9.465, allocations: 13.08 kB / 3.698 GB, free: 72.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/9.466, allocations: 120.8 kB / 3.698 GB, free: 72.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/9.466, allocations: 50.97 kB / 3.698 GB, free: 72.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/9.466, allocations: 1.875 kB / 3.698 GB, free: 72.77 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002206/9.469, allocations: 1.788 MB / 3.7 GB, free: 72.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/9.469, allocations: 5.688 kB / 3.7 GB, free: 72.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/9.469, allocations: 8.156 kB / 3.7 GB, free: 72.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006604/9.469, allocations: 175.9 kB / 3.7 GB, free: 72.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/9.469, allocations: 9.125 kB / 3.7 GB, free: 72.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/9.471, allocations: 121 kB / 3.7 GB, free: 72.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.182e-05/9.471, allocations: 46.86 kB / 3.7 GB, free: 72.55 MB / 0.698 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.0002908/9.471, allocations: 261.4 kB / 3.7 GB, free: 72.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/9.471, allocations: 200.4 kB / 3.701 GB, free: 72.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/9.473, allocations: 1.432 MB / 3.702 GB, free: 72.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/9.473, allocations: 6.938 kB / 3.702 GB, free: 72.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/9.473, allocations: 3.969 kB / 3.702 GB, free: 72.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001417/9.475, allocations: 1.494 MB / 3.703 GB, free: 71.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004854/9.48, allocations: 3.574 MB / 3.707 GB, free: 70.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/9.48, allocations: 6.812 kB / 3.707 GB, free: 70.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006998/9.48, allocations: 164.4 kB / 3.707 GB, free: 70.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/9.48, allocations: 12.31 kB / 3.707 GB, free: 70.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.425e-05/9.481, allocations: 27.67 kB / 3.707 GB, free: 70.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/9.481, allocations: 10.25 kB / 3.707 GB, free: 70.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/9.481, allocations: 10.25 kB / 3.707 GB, free: 70.92 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/9.483, allocations: 2.728 MB / 3.71 GB, free: 69.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008486/9.484, allocations: 458 kB / 3.71 GB, free: 69.74 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/9.484, allocations: 26.09 kB / 3.71 GB, free: 69.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/9.485, allocations: 103.2 kB / 3.71 GB, free: 69.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/9.486, allocations: 98.67 kB / 3.71 GB, free: 69.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.543e-05/9.486, allocations: 41.3 kB / 3.71 GB, free: 69.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001861/9.487, allocations: 1.38 MB / 3.712 GB, free: 69.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/9.487, allocations: 2.156 kB / 3.712 GB, free: 69.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003074/9.491, allocations: 1.004 MB / 3.713 GB, free: 69.52 MB / 0.698 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.006287/9.497, allocations: 6.607 MB / 3.719 GB, free: 66.33 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003211/9.5, allocations: 3.043 MB / 3.722 GB, free: 65.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/9.5, allocations: 0 / 3.722 GB, free: 65.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/9.501, allocations: 0.9877 MB / 3.723 GB, free: 65.36 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004891/9.506, allocations: 0.9967 MB / 3.724 GB, free: 65.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008576/9.515, allocations: 3.629 MB / 3.728 GB, free: 64.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/9.516, allocations: 1.566 MB / 3.729 GB, free: 63.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003205/9.519, allocations: 0.6591 MB / 3.73 GB, free: 63.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000996/9.52, allocations: 0.7388 MB / 3.731 GB, free: 63.64 MB / 0.698 GB Notification: Performance of SimCode: time 1.893e-06/9.52, allocations: 0 / 3.731 GB, free: 63.64 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1673/9.688, allocations: 91.15 MB / 3.82 GB, free: 33.88 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/9.688, allocations: 187.4 kB / 3.82 GB, free: 33.66 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.195/14.88, allocations: 3.656 kB / 3.82 GB, free: 33.66 MB / 0.698 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)