Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IDEAS_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.001057/0.001058, allocations: 180.9 kB / 7.65 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.8268/0.8268, 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.436/1.436, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.0009209/0.0009209, allocations: 99.8 kB / 478.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.222e-05/2.223e-05, allocations: 4 kB / 0.5535 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.4728, allocations: 82.3 MB / 0.6339 GB, free: 40.67 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.035/5.508, allocations: 2.148 GB / 2.782 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/5.509, allocations: 92.55 kB / 2.782 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.326/8.834, allocations: 0.9465 GB / 3.729 GB, free: 4.688 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.182e-06/8.834, allocations: 0 / 3.729 GB, free: 4.688 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001456/8.835, allocations: 51.92 kB / 3.729 GB, free: 4.637 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.005871/8.841, allocations: 2.089 MB / 3.731 GB, free: 2.492 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/8.841, allocations: 8.031 kB / 3.731 GB, free: 2.484 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002986/8.844, allocations: 0.5482 MB / 3.731 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003205/8.847, allocations: 1.371 MB / 3.733 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005888/8.847, allocations: 169.9 kB / 3.733 GB, free: 352 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/8.848, allocations: 68 kB / 3.733 GB, free: 284 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001801/8.849, allocations: 0.9334 MB / 3.734 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/8.851, allocations: 1.075 MB / 3.735 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/8.851, allocations: 0 / 3.735 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.93e-05/8.852, allocations: 0 / 3.735 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.939e-05/8.852, allocations: 45.98 kB / 3.735 GB, free: 14.18 MB / 0.7136 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.01073/8.862, allocations: 5.292 MB / 3.74 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/8.864, allocations: 0.7576 MB / 3.741 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006705/8.864, allocations: 407.2 kB / 3.741 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/8.866, allocations: 0.7553 MB / 3.742 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009493/8.867, allocations: 492.4 kB / 3.742 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 5.39e-06/8.867, allocations: 0 / 3.742 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.002717/8.869, allocations: 0.9592 MB / 3.743 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.049e-05/8.869, allocations: 111.6 kB / 3.743 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/8.871, allocations: 0.8995 MB / 3.744 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/8.871, allocations: 33.8 kB / 3.744 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007122/8.872, allocations: 0.6455 MB / 3.745 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/8.872, allocations: 275.9 kB / 3.745 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.381e-05/8.872, allocations: 0 / 3.745 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002074/8.872, allocations: 349.9 kB / 3.746 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006798/8.873, allocations: 382.5 kB / 3.746 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009873/8.874, allocations: 0.6748 MB / 3.747 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/8.875, allocations: 0.5 MB / 3.747 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/8.875, allocations: 0 / 3.747 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.553/9.428, allocations: 1.194 MB / 3.748 GB, free: 98.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005188/9.429, allocations: 2.063 MB / 3.75 GB, free: 96.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/9.429, allocations: 5.531 kB / 3.75 GB, free: 96.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.807e-05/9.429, allocations: 10.56 kB / 3.75 GB, free: 96.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002341/9.431, allocations: 355.9 kB / 3.751 GB, free: 96.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000688/9.432, allocations: 1.205 MB / 3.752 GB, free: 95.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/9.434, allocations: 197.7 kB / 3.752 GB, free: 95.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/9.434, allocations: 58.95 kB / 3.752 GB, free: 95.37 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/9.434, allocations: 4.594 kB / 3.752 GB, free: 95.37 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002726/9.437, allocations: 1.031 MB / 3.753 GB, free: 95.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/9.437, allocations: 5.062 kB / 3.753 GB, free: 95.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/9.437, allocations: 12.38 kB / 3.753 GB, free: 95.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/9.439, allocations: 338.8 kB / 3.753 GB, free: 95.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.143e-05/9.439, allocations: 12.61 kB / 3.753 GB, free: 95.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/9.441, allocations: 183.1 kB / 3.754 GB, free: 95.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/9.441, allocations: 56.38 kB / 3.754 GB, free: 95.34 MB / 0.7136 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.0004/9.441, allocations: 144 kB / 3.754 GB, free: 95.23 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002393/9.444, allocations: 0.9192 MB / 3.755 GB, free: 95.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/9.444, allocations: 143.1 kB / 3.755 GB, free: 95.15 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/9.447, allocations: 1.092 MB / 3.756 GB, free: 95.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/9.447, allocations: 14.11 kB / 3.756 GB, free: 95.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/9.447, allocations: 0 / 3.756 GB, free: 95.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/9.447, allocations: 5.016 kB / 3.756 GB, free: 95.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004697/9.452, allocations: 2.511 MB / 3.758 GB, free: 94.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/9.452, allocations: 7.016 kB / 3.758 GB, free: 94.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/9.453, allocations: 246.8 kB / 3.759 GB, free: 94.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.505e-05/9.453, allocations: 12.25 kB / 3.759 GB, free: 94.65 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-05/9.453, allocations: 20.75 kB / 3.759 GB, free: 94.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004277/9.453, allocations: 1.194 MB / 3.76 GB, free: 93.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/9.453, allocations: 7.812 kB / 3.76 GB, free: 93.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002818/9.456, allocations: 1.911 MB / 3.762 GB, free: 92.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006935/9.457, allocations: 356 kB / 3.762 GB, free: 92.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/9.457, allocations: 11.03 kB / 3.762 GB, free: 92.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/9.458, allocations: 129.8 kB / 3.762 GB, free: 92.67 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/9.459, allocations: 73.81 kB / 3.762 GB, free: 92.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.73e-05/9.459, allocations: 46.38 kB / 3.762 GB, free: 92.67 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009384/9.46, allocations: 0.6617 MB / 3.763 GB, free: 92.56 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.2e-07/9.46, allocations: 0 / 3.763 GB, free: 92.56 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0033/9.463, allocations: 0.9331 MB / 3.764 GB, free: 92.52 MB / 0.7136 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.006832/9.47, allocations: 5.574 MB / 3.769 GB, free: 90.05 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003411/9.473, allocations: 1.688 MB / 3.771 GB, free: 89.89 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/9.473, allocations: 0 / 3.771 GB, free: 89.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008674/9.474, allocations: 0.5069 MB / 3.771 GB, free: 89.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/9.477, allocations: 0.4915 MB / 3.772 GB, free: 89.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005821/9.483, allocations: 2.335 MB / 3.774 GB, free: 89.21 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007262/9.484, allocations: 1.257 MB / 3.775 GB, free: 88.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002313/9.486, allocations: 459.5 kB / 3.776 GB, free: 88.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007575/9.487, allocations: 0.5563 MB / 3.776 GB, free: 88.48 MB / 0.7136 GB Notification: Performance of SimCode: time 1.383e-06/9.487, allocations: 0 / 3.776 GB, free: 88.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09294/9.58, allocations: 50.11 MB / 3.825 GB, free: 87.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/9.58, allocations: 184.3 kB / 3.825 GB, free: 86.88 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.42/14, allocations: 0 / 3.825 GB, free: 86.88 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)