Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IDEAS_dev_IDEAS_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.001374/0.001374, allocations: 172.5 kB / 7.647 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.8851/0.8851, allocations: 133.6 MB / 141.6 MB, free: 2.895 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.604/1.604, allocations: 221.5 MB / 395.4 MB, free: 10.86 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.0009404/0.0009404, allocations: 92.11 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.157e-05/2.159e-05, allocations: 4 kB / 0.5535 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5451/0.5451, allocations: 82.29 MB / 0.6339 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.537/6.082, allocations: 2.148 GB / 2.782 GB, free: 111 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003707/6.082, allocations: 90.81 kB / 2.782 GB, free: 111 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.922/10, allocations: 0.9465 GB / 3.729 GB, free: 87.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/10, allocations: 0 / 3.729 GB, free: 87.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001501/10, allocations: 42.16 kB / 3.729 GB, free: 87.16 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.006124/10.01, allocations: 2.103 MB / 3.731 GB, free: 86.28 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/10.01, allocations: 10.69 kB / 3.731 GB, free: 86.28 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003166/10.01, allocations: 0.5442 MB / 3.731 GB, free: 86.19 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003438/10.02, allocations: 1.366 MB / 3.733 GB, free: 85.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006226/10.02, allocations: 173.1 kB / 3.733 GB, free: 85.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/10.02, allocations: 67.06 kB / 3.733 GB, free: 85.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001792/10.02, allocations: 0.9369 MB / 3.734 GB, free: 85.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/10.02, allocations: 1.069 MB / 3.735 GB, free: 85.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/10.02, allocations: 0 / 3.735 GB, free: 85.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.773e-05/10.02, allocations: 2.969 kB / 3.735 GB, free: 85.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.885e-05/10.02, allocations: 49.11 kB / 3.735 GB, free: 85.72 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.009163/10.03, allocations: 5.302 MB / 3.74 GB, free: 83.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/10.03, allocations: 0.7511 MB / 3.741 GB, free: 83.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005174/10.03, allocations: 399.5 kB / 3.741 GB, free: 83.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008908/10.03, allocations: 0.7533 MB / 3.742 GB, free: 82.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007372/10.03, allocations: 497.7 kB / 3.742 GB, free: 82.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 5.34e-06/10.03, allocations: 0 / 3.742 GB, free: 82.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.002277/10.04, allocations: 0.9565 MB / 3.743 GB, free: 82.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/10.04, allocations: 119 kB / 3.743 GB, free: 82.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/10.04, allocations: 0.8961 MB / 3.744 GB, free: 82.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/10.04, allocations: 32.17 kB / 3.744 GB, free: 82.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005174/10.04, allocations: 0.6436 MB / 3.745 GB, free: 82.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/10.04, allocations: 270 kB / 3.745 GB, free: 82.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/10.04, allocations: 0 / 3.745 GB, free: 82.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001042/10.04, allocations: 348.1 kB / 3.746 GB, free: 81.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005823/10.04, allocations: 377.6 kB / 3.746 GB, free: 81.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007522/10.04, allocations: 0.6854 MB / 3.747 GB, free: 81.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/10.04, allocations: 0.4974 MB / 3.747 GB, free: 81.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/10.04, allocations: 3.219 kB / 3.747 GB, free: 81.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00226/10.04, allocations: 1.198 MB / 3.748 GB, free: 81.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004616/10.04, allocations: 2.064 MB / 3.75 GB, free: 79.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/10.04, allocations: 6.5 kB / 3.75 GB, free: 79.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/10.04, allocations: 11.12 kB / 3.75 GB, free: 79.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/10.05, allocations: 353.1 kB / 3.751 GB, free: 79.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005623/10.05, allocations: 1.213 MB / 3.752 GB, free: 77.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/10.05, allocations: 198.3 kB / 3.752 GB, free: 77.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/10.05, allocations: 55.98 kB / 3.752 GB, free: 77.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/10.05, allocations: 10.75 kB / 3.752 GB, free: 77.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001989/10.05, allocations: 1.032 MB / 3.753 GB, free: 77.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/10.05, allocations: 3 kB / 3.753 GB, free: 77.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/10.05, allocations: 13.94 kB / 3.753 GB, free: 77.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/10.05, allocations: 333.9 kB / 3.753 GB, free: 77.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/10.05, allocations: 17.84 kB / 3.753 GB, free: 77.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/10.05, allocations: 181.3 kB / 3.754 GB, free: 77.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/10.05, allocations: 61.31 kB / 3.754 GB, free: 77.83 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * 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.0003431/10.05, allocations: 134 kB / 3.754 GB, free: 77.72 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001828/10.06, allocations: 0.9227 MB / 3.755 GB, free: 77.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/10.06, allocations: 137.1 kB / 3.755 GB, free: 77.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/10.06, allocations: 1.098 MB / 3.756 GB, free: 77.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/10.06, allocations: 10.88 kB / 3.756 GB, free: 77.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/10.06, allocations: 0 / 3.756 GB, free: 77.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/10.06, allocations: 3.797 kB / 3.756 GB, free: 77.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004264/10.06, allocations: 2.516 MB / 3.758 GB, free: 77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/10.06, allocations: 3.906 kB / 3.758 GB, free: 77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/10.06, allocations: 250.6 kB / 3.759 GB, free: 77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.46e-05/10.06, allocations: 10.06 kB / 3.759 GB, free: 77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.275e-05/10.06, allocations: 20.67 kB / 3.759 GB, free: 77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004043/10.06, allocations: 1.193 MB / 3.76 GB, free: 75.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/10.06, allocations: 7.469 kB / 3.76 GB, free: 75.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/10.07, allocations: 1.91 MB / 3.762 GB, free: 75.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007069/10.07, allocations: 359.5 kB / 3.762 GB, free: 75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/10.07, allocations: 12.95 kB / 3.762 GB, free: 75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/10.07, allocations: 128 kB / 3.762 GB, free: 75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/10.07, allocations: 78.27 kB / 3.762 GB, free: 75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.494e-05/10.07, allocations: 40.33 kB / 3.762 GB, free: 75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000909/10.07, allocations: 0.6689 MB / 3.763 GB, free: 74.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.71e-07/10.07, allocations: 0 / 3.763 GB, free: 74.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003182/10.07, allocations: 0.9387 MB / 3.764 GB, free: 74.75 MB / 0.698 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: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.006983/10.08, allocations: 5.568 MB / 3.769 GB, free: 72.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003112/10.08, allocations: 1.679 MB / 3.771 GB, free: 72.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/10.08, allocations: 0 / 3.771 GB, free: 72.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008672/10.08, allocations: 0.5069 MB / 3.771 GB, free: 72.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002981/10.09, allocations: 0.4955 MB / 3.772 GB, free: 72.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005739/10.09, allocations: 2.345 MB / 3.774 GB, free: 71.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007003/10.09, allocations: 1.262 MB / 3.775 GB, free: 70.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002322/10.1, allocations: 459.4 kB / 3.776 GB, free: 70.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007577/10.1, allocations: 0.55 MB / 3.776 GB, free: 70.52 MB / 0.698 GB Notification: Performance of SimCode: time 1.493e-06/10.1, allocations: 3.938 kB / 3.776 GB, free: 70.52 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09679/10.19, allocations: 50.1 MB / 3.825 GB, free: 68.32 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/10.19, allocations: 185.9 kB / 3.825 GB, free: 68.13 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.986/14.18, allocations: 0 / 3.825 GB, free: 68.13 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)