Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",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.00115/0.00115, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5061/0.5061, allocations: 90.91 MB / 99.34 MB, free: 2.176 MB / 74.73 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 221.5 MB / 343.2 MB, free: 1.598 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008539/0.0008539, allocations: 95.45 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.913e-05, allocations: 0 / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1395, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.119/5.258, allocations: 2.139 GB / 2.693 GB, free: 173.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/5.259, allocations: 88.28 kB / 2.693 GB, free: 173.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.022/8.281, allocations: 0.9453 GB / 3.638 GB, free: 488 kB / 0.6355 GB Notification: Performance of FrontEnd: time 3.426e-06/8.281, allocations: 0 / 3.638 GB, free: 488 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003076/8.281, allocations: 47.92 kB / 3.638 GB, free: 440 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.5287/8.81, allocations: 2.08 MB / 3.64 GB, free: 79.37 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001016/8.81, allocations: 9.578 kB / 3.64 GB, free: 79.37 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00388/8.814, allocations: 0.5454 MB / 3.641 GB, free: 79.28 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004618/8.818, allocations: 1.369 MB / 3.642 GB, free: 78.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007396/8.819, allocations: 171.2 kB / 3.642 GB, free: 78.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/8.819, allocations: 67.3 kB / 3.642 GB, free: 78.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002186/8.822, allocations: 0.933 MB / 3.643 GB, free: 78.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002679/8.824, allocations: 1.07 MB / 3.644 GB, free: 78.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/8.824, allocations: 0.9062 kB / 3.644 GB, free: 78.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/8.824, allocations: 5.328 kB / 3.644 GB, free: 78.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/8.825, allocations: 44.25 kB / 3.644 GB, free: 78.82 MB / 0.6355 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.01372/8.838, allocations: 5.293 MB / 3.649 GB, free: 76.81 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/8.84, allocations: 0.7433 MB / 3.65 GB, free: 76.78 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006566/8.84, allocations: 398 kB / 3.65 GB, free: 76.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009917/8.841, allocations: 0.7508 MB / 3.651 GB, free: 76.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008435/8.842, allocations: 494.4 kB / 3.652 GB, free: 75.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=81): time 4.038e-06/8.842, allocations: 3.844 kB / 3.652 GB, free: 75.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=81): time 0.002512/8.845, allocations: 0.9519 MB / 3.653 GB, free: 75.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/8.845, allocations: 117.2 kB / 3.653 GB, free: 75.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/8.846, allocations: 0.9009 MB / 3.654 GB, free: 75.58 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.847e-05/8.846, allocations: 25.7 kB / 3.654 GB, free: 75.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005709/8.847, allocations: 0.6536 MB / 3.654 GB, free: 75.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/8.847, allocations: 268.1 kB / 3.654 GB, free: 75.21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/8.847, allocations: 6.125 kB / 3.654 GB, free: 75.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001077/8.847, allocations: 342.4 kB / 3.655 GB, free: 74.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/8.848, allocations: 380.8 kB / 3.655 GB, free: 74.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007832/8.848, allocations: 0.6647 MB / 3.656 GB, free: 74.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/8.85, allocations: 0.497 MB / 3.656 GB, free: 74.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/8.85, allocations: 7.016 kB / 3.656 GB, free: 74.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002444/8.852, allocations: 1.195 MB / 3.657 GB, free: 74.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005359/8.853, allocations: 2.06 MB / 3.659 GB, free: 72.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/8.853, allocations: 4.5 kB / 3.659 GB, free: 72.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.36e-05/8.853, allocations: 13.05 kB / 3.66 GB, free: 72.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/8.855, allocations: 354.2 kB / 3.66 GB, free: 72.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005469/8.855, allocations: 1.21 MB / 3.661 GB, free: 71.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/8.857, allocations: 192.6 kB / 3.661 GB, free: 71.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/8.857, allocations: 63 kB / 3.661 GB, free: 71.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/8.857, allocations: 4.062 kB / 3.661 GB, free: 71.14 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002383/8.859, allocations: 1.032 MB / 3.662 GB, free: 71.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/8.859, allocations: 6.594 kB / 3.662 GB, free: 71.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/8.859, allocations: 10.88 kB / 3.662 GB, free: 71.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/8.861, allocations: 331.9 kB / 3.663 GB, free: 71.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/8.861, allocations: 15.56 kB / 3.663 GB, free: 71.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/8.863, allocations: 186.1 kB / 3.663 GB, free: 71.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/8.863, allocations: 57.83 kB / 3.663 GB, free: 71.09 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003425/8.863, allocations: 138.3 kB / 3.663 GB, free: 70.98 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001904/8.865, allocations: 0.9134 MB / 3.664 GB, free: 70.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/8.865, allocations: 141.4 kB / 3.664 GB, free: 70.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/8.868, allocations: 1.089 MB / 3.665 GB, free: 70.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/8.868, allocations: 14.58 kB / 3.665 GB, free: 70.71 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.577e-06/8.868, allocations: 4.5 kB / 3.665 GB, free: 70.71 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/8.868, allocations: 7.469 kB / 3.665 GB, free: 70.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004813/8.873, allocations: 2.512 MB / 3.668 GB, free: 70.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/8.873, allocations: 3.062 kB / 3.668 GB, free: 70.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/8.874, allocations: 248.6 kB / 3.668 GB, free: 70.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-05/8.874, allocations: 10.34 kB / 3.668 GB, free: 70.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.068e-05/8.874, allocations: 17.28 kB / 3.668 GB, free: 70.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004583/8.875, allocations: 1.199 MB / 3.669 GB, free: 69.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/8.875, allocations: 3.656 kB / 3.669 GB, free: 69.09 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003249/8.878, allocations: 1.906 MB / 3.671 GB, free: 68.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006884/8.879, allocations: 359 kB / 3.671 GB, free: 68.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/8.879, allocations: 7.406 kB / 3.671 GB, free: 68.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/8.88, allocations: 138.7 kB / 3.671 GB, free: 68.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/8.88, allocations: 76.02 kB / 3.671 GB, free: 68.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.973e-05/8.88, allocations: 43.23 kB / 3.671 GB, free: 68.28 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001151/8.882, allocations: 0.6695 MB / 3.672 GB, free: 68.17 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/8.882, allocations: 0 / 3.672 GB, free: 68.17 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00346/8.885, allocations: 0.9417 MB / 3.673 GB, free: 68.13 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007396/8.892, allocations: 5.557 MB / 3.678 GB, free: 65.65 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003631/8.896, allocations: 1.669 MB / 3.68 GB, free: 65.51 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/8.896, allocations: 1.531 kB / 3.68 GB, free: 65.51 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009448/8.897, allocations: 0.489 MB / 3.681 GB, free: 65.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00343/8.901, allocations: 0.5007 MB / 3.681 GB, free: 65.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007855/8.908, allocations: 2.337 MB / 3.683 GB, free: 64.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/8.909, allocations: 1.262 MB / 3.685 GB, free: 64.11 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003155/8.913, allocations: 464.5 kB / 3.685 GB, free: 64.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/8.914, allocations: 0.5503 MB / 3.686 GB, free: 64.08 MB / 0.6355 GB Notification: Performance of SimCode: time 2.024e-06/8.914, allocations: 3.797 kB / 3.686 GB, free: 64.08 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1013/9.015, allocations: 49.89 MB / 3.734 GB, free: 62.42 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/9.015, allocations: 194.6 kB / 3.734 GB, free: 62.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.878/12.89, allocations: 0 / 3.734 GB, free: 62.23 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)