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.008069/0.008069, allocations: 171.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7447/0.7447, allocations: 135.2 MB / 151 MB, free: 13.82 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.396/1.396, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.0008629/0.0008628, allocations: 95.22 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003989/0.0003988, allocations: 12 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.428/0.4284, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.064/5.493, allocations: 2.145 GB / 2.795 GB, free: 56.16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/5.493, allocations: 106.2 kB / 2.795 GB, free: 56.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.423/8.916, allocations: 0.8834 GB / 3.678 GB, free: 81.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.132e-06/8.916, allocations: 0 / 3.678 GB, free: 81.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002052/8.917, allocations: 55.69 kB / 3.678 GB, free: 81.04 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.005803/8.922, allocations: 2.755 MB / 3.681 GB, free: 79.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/8.922, allocations: 13.81 kB / 3.681 GB, free: 79.77 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003207/8.923, allocations: 196.5 kB / 3.681 GB, free: 79.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/8.924, allocations: 380.9 kB / 3.682 GB, free: 79.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00405/8.928, allocations: 2.067 MB / 3.684 GB, free: 79.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.432e-05/8.929, allocations: 104.5 kB / 3.684 GB, free: 79.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/8.929, allocations: 135.9 kB / 3.684 GB, free: 79.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/8.931, allocations: 1.599 MB / 3.686 GB, free: 79.08 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/8.931, allocations: 3.281 kB / 3.686 GB, free: 79.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/8.931, allocations: 64.2 kB / 3.686 GB, free: 79.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.583e-05/8.931, allocations: 48.44 kB / 3.686 GB, free: 79.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/8.933, allocations: 1.245 MB / 3.687 GB, free: 79.06 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008959/8.942, allocations: 6.465 MB / 3.693 GB, free: 76.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/8.944, allocations: 0.9226 MB / 3.694 GB, free: 76.87 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005436/8.944, allocations: 0.6873 MB / 3.695 GB, free: 76.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/8.944, allocations: 43.09 kB / 3.695 GB, free: 76.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 2.705e-06/8.944, allocations: 3.812 kB / 3.695 GB, free: 76.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.006147/8.95, allocations: 3.924 MB / 3.699 GB, free: 74.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/8.951, allocations: 198.5 kB / 3.699 GB, free: 74.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00254/8.953, allocations: 1.792 MB / 3.701 GB, free: 74.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/8.953, allocations: 58.39 kB / 3.701 GB, free: 74.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006289/8.954, allocations: 0.8847 MB / 3.701 GB, free: 74.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/8.954, allocations: 293.4 kB / 3.702 GB, free: 73.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/8.954, allocations: 19.22 kB / 3.702 GB, free: 73.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.872e-05/8.954, allocations: 345.3 kB / 3.702 GB, free: 73.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007673/8.955, allocations: 0.598 MB / 3.703 GB, free: 73.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009055/8.956, allocations: 0.8724 MB / 3.704 GB, free: 73.36 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.004118/8.96, allocations: 2.428 MB / 3.706 GB, free: 72.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/8.96, allocations: 0 / 3.706 GB, free: 72.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003057/8.963, allocations: 1.844 MB / 3.708 GB, free: 72.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006082/8.964, allocations: 1.667 MB / 3.709 GB, free: 70.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/8.964, allocations: 3.688 kB / 3.709 GB, free: 70.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.979e-05/8.964, allocations: 7.062 kB / 3.709 GB, free: 70.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007743/8.965, allocations: 180.8 kB / 3.71 GB, free: 70.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.211e-05/8.965, allocations: 10.2 kB / 3.71 GB, free: 70.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/8.967, allocations: 117.2 kB / 3.71 GB, free: 70.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/8.967, allocations: 52.5 kB / 3.71 GB, free: 70.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/8.967, allocations: 6.25 kB / 3.71 GB, free: 70.75 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002455/8.969, allocations: 1.839 MB / 3.711 GB, free: 70.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/8.969, allocations: 5.125 kB / 3.712 GB, free: 70.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/8.969, allocations: 13.8 kB / 3.712 GB, free: 70.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000702/8.97, allocations: 178.8 kB / 3.712 GB, free: 70.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/8.97, allocations: 12.67 kB / 3.712 GB, free: 70.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/8.972, allocations: 111.3 kB / 3.712 GB, free: 70.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/8.972, allocations: 51.14 kB / 3.712 GB, free: 70.53 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 () * Number of clocked 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.001396/8.974, allocations: 0.7227 MB / 3.713 GB, free: 70.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004268/8.974, allocations: 190.5 kB / 3.713 GB, free: 70.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/8.976, allocations: 1.483 MB / 3.714 GB, free: 69.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/8.976, allocations: 8.781 kB / 3.714 GB, free: 69.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/8.976, allocations: 0 / 3.714 GB, free: 69.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00145/8.978, allocations: 1.556 MB / 3.716 GB, free: 69.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004955/8.982, allocations: 3.622 MB / 3.719 GB, free: 68.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/8.983, allocations: 7.844 kB / 3.719 GB, free: 68.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000714/8.983, allocations: 167.1 kB / 3.719 GB, free: 68.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/8.983, allocations: 13.09 kB / 3.719 GB, free: 68.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.381e-05/8.983, allocations: 28.98 kB / 3.719 GB, free: 68.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-06/8.983, allocations: 10.69 kB / 3.719 GB, free: 68.81 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/8.983, allocations: 3.062 kB / 3.719 GB, free: 68.81 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002835/8.986, allocations: 2.807 MB / 3.722 GB, free: 67.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009339/8.987, allocations: 451 kB / 3.723 GB, free: 67.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/8.987, allocations: 36.86 kB / 3.723 GB, free: 67.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/8.988, allocations: 102.7 kB / 3.723 GB, free: 67.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/8.989, allocations: 103.7 kB / 3.723 GB, free: 67.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.099e-05/8.989, allocations: 38.58 kB / 3.723 GB, free: 67.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001938/8.991, allocations: 1.403 MB / 3.724 GB, free: 67.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/8.991, allocations: 0 / 3.724 GB, free: 67.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002888/8.994, allocations: 0.9926 MB / 3.725 GB, free: 67.43 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) * Number of clocked states: 0 () * 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.005983/9, allocations: 6.713 MB / 3.732 GB, free: 64.24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00311/9.003, allocations: 3.047 MB / 3.735 GB, free: 63.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/9.003, allocations: 3.594 kB / 3.735 GB, free: 63.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/9.004, allocations: 1.009 MB / 3.736 GB, free: 63.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00428/9.008, allocations: 0.9939 MB / 3.737 GB, free: 63.26 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008152/9.016, allocations: 7.815 MB / 3.744 GB, free: 58.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009254/9.017, allocations: 1.564 MB / 3.746 GB, free: 57.88 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001903/9.019, allocations: 423 kB / 3.746 GB, free: 57.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008776/9.02, allocations: 0.7724 MB / 3.747 GB, free: 57.86 MB / 0.698 GB Notification: Performance of SimCode: time 1.463e-06/9.02, allocations: 6.219 kB / 3.747 GB, free: 57.86 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/9.139, allocations: 83.02 MB / 3.828 GB, free: 48.86 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/9.139, allocations: 229.5 kB / 3.828 GB, free: 48.61 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.915/14.05, allocations: 0 / 3.828 GB, free: 48.61 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)