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.001628/0.001627, allocations: 180.9 kB / 7.651 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.8703/0.8703, allocations: 133.6 MB / 141.6 MB, free: 2.887 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.485/1.485, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.0008014/0.0008013, allocations: 104.9 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.8e-05, allocations: 11.97 kB / 0.5536 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4884/0.4885, allocations: 82.29 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.702/6.19, allocations: 2.145 GB / 2.779 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/6.191, allocations: 94.62 kB / 2.779 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.054/9.245, allocations: 0.8745 GB / 3.653 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.263e-06/9.245, allocations: 0 / 3.653 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003214/9.246, allocations: 52.92 kB / 3.653 GB, free: 9.445 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.006114/9.252, allocations: 2.355 MB / 3.655 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/9.252, allocations: 8.031 kB / 3.655 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002241/9.254, allocations: 389 kB / 3.656 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004593/9.259, allocations: 2.045 MB / 3.658 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/9.259, allocations: 44 kB / 3.658 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/9.259, allocations: 80 kB / 3.658 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001796/9.261, allocations: 1.118 MB / 3.659 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/9.263, allocations: 1.37 MB / 3.66 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/9.263, allocations: 3.938 kB / 3.66 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/9.263, allocations: 7.938 kB / 3.66 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/9.263, allocations: 46.09 kB / 3.66 GB, free: 1.871 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.008712/9.272, allocations: 6.17 MB / 3.666 GB, free: 11.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/9.273, allocations: 0.861 MB / 3.667 GB, free: 10.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007416/9.273, allocations: 0.577 MB / 3.668 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007277/9.274, allocations: 0.6877 MB / 3.669 GB, free: 9.258 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/9.274, allocations: 43.34 kB / 3.669 GB, free: 9.207 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 2.866e-06/9.274, allocations: 4 kB / 3.669 GB, free: 9.203 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.005387/9.28, allocations: 2.71 MB / 3.671 GB, free: 6.434 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.844e-05/9.28, allocations: 196.7 kB / 3.671 GB, free: 6.199 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/9.282, allocations: 1.493 MB / 3.673 GB, free: 4.711 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.757e-05/9.282, allocations: 33.7 kB / 3.673 GB, free: 4.672 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007052/9.283, allocations: 0.8934 MB / 3.674 GB, free: 3.766 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/9.283, allocations: 287 kB / 3.674 GB, free: 3.484 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/9.283, allocations: 4 kB / 3.674 GB, free: 3.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001301/9.283, allocations: 337.9 kB / 3.674 GB, free: 3.145 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008164/9.284, allocations: 0.5688 MB / 3.675 GB, free: 2.574 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/9.285, allocations: 0.822 MB / 3.676 GB, free: 1.664 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.5615/9.847, allocations: 2.132 MB / 3.678 GB, free: 79.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/9.847, allocations: 1.562 kB / 3.678 GB, free: 79.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.004122/9.851, allocations: 1.543 MB / 3.679 GB, free: 79.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006242/9.851, allocations: 1.646 MB / 3.681 GB, free: 77.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/9.851, allocations: 8.391 kB / 3.681 GB, free: 77.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.255e-05/9.851, allocations: 10.75 kB / 3.681 GB, free: 77.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009021/9.852, allocations: 177.5 kB / 3.681 GB, free: 77.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/9.852, allocations: 11.58 kB / 3.681 GB, free: 77.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/9.854, allocations: 92.55 kB / 3.681 GB, free: 77.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/9.854, allocations: 49.56 kB / 3.681 GB, free: 77.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/9.855, allocations: 6.438 kB / 3.681 GB, free: 77.63 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002962/9.857, allocations: 1.46 MB / 3.683 GB, free: 77.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/9.857, allocations: 1.938 kB / 3.683 GB, free: 77.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/9.858, allocations: 8.625 kB / 3.683 GB, free: 77.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007548/9.858, allocations: 178.4 kB / 3.683 GB, free: 77.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/9.858, allocations: 11.39 kB / 3.683 GB, free: 77.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/9.86, allocations: 104.1 kB / 3.683 GB, free: 77.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/9.86, allocations: 52 kB / 3.683 GB, free: 77.6 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.0003874/9.861, allocations: 221.1 kB / 3.683 GB, free: 77.4 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002204/9.863, allocations: 1.175 MB / 3.684 GB, free: 77.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/9.863, allocations: 176.3 kB / 3.685 GB, free: 77.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/9.866, allocations: 1.254 MB / 3.686 GB, free: 77.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/9.866, allocations: 15.2 kB / 3.686 GB, free: 77.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/9.866, allocations: 5.625 kB / 3.686 GB, free: 77.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001706/9.867, allocations: 1.354 MB / 3.687 GB, free: 76.83 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006025/9.873, allocations: 3.231 MB / 3.69 GB, free: 76.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/9.873, allocations: 6.688 kB / 3.69 GB, free: 76.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007588/9.874, allocations: 170.3 kB / 3.69 GB, free: 76.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/9.874, allocations: 11.38 kB / 3.69 GB, free: 76.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-05/9.874, allocations: 16.72 kB / 3.69 GB, free: 76.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.447e-06/9.874, allocations: 9.562 kB / 3.691 GB, free: 76.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/9.874, allocations: 14.05 kB / 3.691 GB, free: 76.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/9.877, allocations: 2.486 MB / 3.693 GB, free: 75.58 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008811/9.878, allocations: 438.2 kB / 3.693 GB, free: 75.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/9.878, allocations: 22.94 kB / 3.693 GB, free: 75.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/9.88, allocations: 78.53 kB / 3.693 GB, free: 75.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/9.88, allocations: 101.4 kB / 3.694 GB, free: 75.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.472e-05/9.88, allocations: 34.59 kB / 3.694 GB, free: 75.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001642/9.881, allocations: 1.138 MB / 3.695 GB, free: 75.28 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/9.881, allocations: 2.469 kB / 3.695 GB, free: 75.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00295/9.884, allocations: 0.9061 MB / 3.696 GB, free: 75.28 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.006548/9.891, allocations: 6.54 MB / 3.702 GB, free: 72.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005309/9.896, allocations: 2.955 MB / 3.705 GB, free: 71.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.807e-05/9.896, allocations: 2.062 kB / 3.705 GB, free: 71.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/9.898, allocations: 0.9604 MB / 3.706 GB, free: 71.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005692/9.903, allocations: 0.8276 MB / 3.707 GB, free: 71.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/9.916, allocations: 3.523 MB / 3.71 GB, free: 70.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/9.918, allocations: 1.559 MB / 3.712 GB, free: 69.69 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003333/9.921, allocations: 0.6032 MB / 3.712 GB, free: 69.67 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/9.922, allocations: 0.7339 MB / 3.713 GB, free: 69.67 MB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/9.923, allocations: 0 / 3.713 GB, free: 69.67 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/10.04, allocations: 64.82 MB / 3.776 GB, free: 66.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/10.04, allocations: 177.8 kB / 3.776 GB, free: 66.61 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.139/14.18, allocations: 0 / 3.776 GB, free: 66.61 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)