Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="IDEAS_dev_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.001204/0.001204, 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.7266/0.7266, 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.472/1.472, allocations: 221.3 MB / 400.4 MB, free: 5.805 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.0008665/0.0008665, allocations: 103.3 kB / 483.3 MB, free: 5.809 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.29e-05/4.303e-05, allocations: 7.984 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1763, allocations: 82.3 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.387/5.564, allocations: 2.145 GB / 2.786 GB, free: 41.28 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/5.564, allocations: 95.7 kB / 2.786 GB, free: 41.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.805/9.37, allocations: 0.8818 GB / 3.668 GB, free: 82.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.352e-06/9.37, allocations: 1.969 kB / 3.668 GB, free: 82.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003881/9.37, allocations: 59.98 kB / 3.668 GB, free: 82.79 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.007328/9.377, allocations: 2.359 MB / 3.67 GB, free: 81.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/9.377, allocations: 11.25 kB / 3.67 GB, free: 81.66 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008049/9.378, allocations: 196.3 kB / 3.67 GB, free: 81.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002716/9.381, allocations: 376.5 kB / 3.671 GB, free: 81.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005988/9.387, allocations: 2.042 MB / 3.673 GB, free: 81.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/9.387, allocations: 105.5 kB / 3.673 GB, free: 81.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005352/9.388, allocations: 143.9 kB / 3.673 GB, free: 81.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003894/9.392, allocations: 1.56 MB / 3.674 GB, free: 80.97 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.846e-05/9.392, allocations: 1.781 kB / 3.674 GB, free: 80.97 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002475/9.392, allocations: 61.83 kB / 3.674 GB, free: 80.97 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.504e-05/9.392, allocations: 47.25 kB / 3.674 GB, free: 80.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/9.394, allocations: 1.185 MB / 3.676 GB, free: 80.95 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.01057/9.405, allocations: 6.46 MB / 3.682 GB, free: 78.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/9.406, allocations: 0.8859 MB / 3.683 GB, free: 78.72 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007966/9.407, allocations: 0.6026 MB / 3.683 GB, free: 78.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006348/9.408, allocations: 0.6884 MB / 3.684 GB, free: 77.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/9.408, allocations: 40.72 kB / 3.684 GB, free: 77.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 3.016e-06/9.408, allocations: 3.188 kB / 3.684 GB, free: 77.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.00588/9.414, allocations: 3.086 MB / 3.687 GB, free: 76.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/9.414, allocations: 203 kB / 3.687 GB, free: 76.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003428/9.417, allocations: 1.773 MB / 3.689 GB, free: 76.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/9.417, allocations: 49.25 kB / 3.689 GB, free: 76.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008321/9.418, allocations: 0.8899 MB / 3.69 GB, free: 76.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/9.419, allocations: 286.9 kB / 3.69 GB, free: 76.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-05/9.419, allocations: 18.22 kB / 3.69 GB, free: 76.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.424e-05/9.419, allocations: 341.7 kB / 3.691 GB, free: 75.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007686/9.42, allocations: 0.5815 MB / 3.691 GB, free: 75.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009762/9.42, allocations: 0.8526 MB / 3.692 GB, free: 75.47 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.004273/9.425, allocations: 2.367 MB / 3.694 GB, free: 74.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/9.425, allocations: 0 / 3.694 GB, free: 74.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002552/9.427, allocations: 1.796 MB / 3.696 GB, free: 74.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004332/9.428, allocations: 1.663 MB / 3.698 GB, free: 72.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/9.428, allocations: 2.75 kB / 3.698 GB, free: 72.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.367e-05/9.428, allocations: 13.77 kB / 3.698 GB, free: 72.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007151/9.429, allocations: 181.4 kB / 3.698 GB, free: 72.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.145e-05/9.429, allocations: 10.56 kB / 3.698 GB, free: 72.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/9.43, allocations: 116.5 kB / 3.698 GB, free: 72.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/9.43, allocations: 48.5 kB / 3.698 GB, free: 72.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/9.43, allocations: 4.812 kB / 3.698 GB, free: 72.87 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002258/9.433, allocations: 1.788 MB / 3.7 GB, free: 72.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/9.433, allocations: 8.375 kB / 3.7 GB, free: 72.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/9.433, allocations: 9.469 kB / 3.7 GB, free: 72.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006846/9.433, allocations: 178.6 kB / 3.7 GB, free: 72.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/9.434, allocations: 8.375 kB / 3.7 GB, free: 72.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/9.435, allocations: 119 kB / 3.7 GB, free: 72.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/9.435, allocations: 48.12 kB / 3.7 GB, free: 72.64 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.0004204/9.436, allocations: 267.9 kB / 3.7 GB, free: 72.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004914/9.436, allocations: 195.8 kB / 3.701 GB, free: 72.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/9.439, allocations: 1.431 MB / 3.702 GB, free: 72.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/9.439, allocations: 12.59 kB / 3.702 GB, free: 72.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/9.439, allocations: 0 / 3.702 GB, free: 72.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001575/9.44, allocations: 1.496 MB / 3.703 GB, free: 71.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006313/9.447, allocations: 3.572 MB / 3.707 GB, free: 71.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/9.447, allocations: 3.875 kB / 3.707 GB, free: 71.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007962/9.448, allocations: 172.6 kB / 3.707 GB, free: 71.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.91e-05/9.448, allocations: 13.25 kB / 3.707 GB, free: 71.01 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.924e-05/9.448, allocations: 28.88 kB / 3.707 GB, free: 71.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.175e-05/9.448, allocations: 10.84 kB / 3.707 GB, free: 71.01 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/9.448, allocations: 3.625 kB / 3.707 GB, free: 71.01 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003096/9.451, allocations: 2.726 MB / 3.71 GB, free: 70.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/9.452, allocations: 456.9 kB / 3.71 GB, free: 69.83 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005726/9.453, allocations: 24.5 kB / 3.71 GB, free: 69.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/9.454, allocations: 112.2 kB / 3.71 GB, free: 69.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/9.455, allocations: 101.6 kB / 3.71 GB, free: 69.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/9.455, allocations: 38.17 kB / 3.71 GB, free: 69.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002795/9.457, allocations: 1.377 MB / 3.712 GB, free: 69.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.104e-06/9.457, allocations: 0 / 3.712 GB, free: 69.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004306/9.462, allocations: 1.006 MB / 3.713 GB, free: 69.61 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.007701/9.469, allocations: 6.597 MB / 3.719 GB, free: 66.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003709/9.473, allocations: 3.045 MB / 3.722 GB, free: 65.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/9.473, allocations: 3.375 kB / 3.722 GB, free: 65.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/9.474, allocations: 0.9859 MB / 3.723 GB, free: 65.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00536/9.48, allocations: 0.9995 MB / 3.724 GB, free: 65.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009681/9.489, allocations: 3.626 MB / 3.728 GB, free: 64.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001587/9.491, allocations: 1.565 MB / 3.729 GB, free: 63.76 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003353/9.494, allocations: 0.6613 MB / 3.73 GB, free: 63.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/9.496, allocations: 0.7392 MB / 3.731 GB, free: 63.73 MB / 0.698 GB Notification: Performance of SimCode: time 1.684e-06/9.496, allocations: 0 / 3.731 GB, free: 63.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1477/9.643, allocations: 91.15 MB / 3.82 GB, free: 33.79 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/9.643, allocations: 198.6 kB / 3.82 GB, free: 33.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.076/14.72, allocations: 0 / 3.82 GB, free: 33.57 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)