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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.624/2.624, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.069/1.069, allocations: 132.3 MB / 423.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005119/0.0005126, allocations: 8.688 kB / 0.5033 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6267/0.6273, allocations: 81.57 MB / 0.583 GB, free: 3.898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.3233/0.9507, allocations: 175.7 MB / 0.7546 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03286/0.9836, allocations: 9.761 MB / 0.7641 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003805/0.9875, allocations: 51.62 kB / 0.7642 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004984/0.9925, allocations: 0.7191 MB / 0.7649 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01103/1.004, allocations: 2.255 MB / 0.7671 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00764/1.011, allocations: 1.917 MB / 0.7689 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00619/1.017, allocations: 2.194 MB / 0.7711 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002582/1.02, allocations: 1.023 MB / 0.7721 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004898/1.025, allocations: 1.472 MB / 0.7735 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002302/1.027, allocations: 0.8051 MB / 0.7743 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002973/1.028, allocations: 60 kB / 0.7744 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005363/1.033, allocations: 2.001 MB / 0.7763 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006177/1.034, allocations: 342.7 kB / 0.7766 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007769/1.034, allocations: 344.8 kB / 0.777 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004108/1.039, allocations: 2.171 MB / 0.7791 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.039, allocations: 3.938 kB / 0.7791 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/1.039, allocations: 3.938 kB / 0.7791 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.555e-05/1.039, allocations: 4 kB / 0.7791 GB, free: 7.164 MB / 0.6075 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.005492/1.044, allocations: 2.007 MB / 0.7811 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/1.044, allocations: 11.97 kB / 0.7811 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003054/1.045, allocations: 152.2 kB / 0.7812 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003275/1.048, allocations: 0.5794 MB / 0.7818 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002884/1.051, allocations: 1.18 MB / 0.7829 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007098/1.051, allocations: 225.9 kB / 0.7832 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002376/1.052, allocations: 108 kB / 0.7833 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002996/1.055, allocations: 1.333 MB / 0.7846 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/1.055, allocations: 7.938 kB / 0.7846 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/1.055, allocations: 43.98 kB / 0.7846 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.779e-05/1.055, allocations: 42 kB / 0.7847 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003521/1.059, allocations: 1.394 MB / 0.786 GB, free: 15.93 MB / 0.6231 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.01031/1.069, allocations: 5.341 MB / 0.7912 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002828/1.072, allocations: 1.071 MB / 0.7923 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/1.073, allocations: 0.6124 MB / 0.7929 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001623/1.074, allocations: 0.6211 MB / 0.7935 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.745e-06/1.074, allocations: 4 kB / 0.7935 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.004958/1.079, allocations: 1.655 MB / 0.7951 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/1.079, allocations: 72.05 kB / 0.7952 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/1.082, allocations: 1.31 MB / 0.7964 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002154/1.082, allocations: 49.7 kB / 0.7965 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006174/1.082, allocations: 0.6426 MB / 0.7971 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/1.083, allocations: 279.9 kB / 0.7974 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-05/1.083, allocations: 20 kB / 0.7974 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.083, allocations: 353.9 kB / 0.7977 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/1.084, allocations: 0.5179 MB / 0.7983 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/1.086, allocations: 0.7893 MB / 0.799 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/1.088, allocations: 0.6058 MB / 0.7996 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.088, allocations: 0 / 0.7996 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004095/1.092, allocations: 1.516 MB / 0.8011 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.001036/1.093, allocations: 1.991 MB / 0.803 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/1.093, allocations: 7.953 kB / 0.803 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.563e-05/1.093, allocations: 15.98 kB / 0.8031 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/1.095, allocations: 359.5 kB / 0.8034 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008212/1.096, allocations: 1.195 MB / 0.8046 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/1.098, allocations: 244.2 kB / 0.8048 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/1.098, allocations: 51.97 kB / 0.8049 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.098, allocations: 6.031 kB / 0.8049 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003898/1.102, allocations: 1.36 MB / 0.8062 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/1.102, allocations: 8.188 kB / 0.8062 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.102, allocations: 12 kB / 0.8062 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/1.104, allocations: 319.6 kB / 0.8065 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/1.104, allocations: 19.88 kB / 0.8065 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/1.106, allocations: 218.8 kB / 0.8067 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/1.106, allocations: 55.97 kB / 0.8068 GB, free: 9.883 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 130 * 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.0008348/1.107, allocations: 412.8 kB / 0.8072 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004022/1.107, allocations: 158.1 kB / 0.8073 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003616/1.111, allocations: 1.364 MB / 0.8087 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/1.111, allocations: 11.98 kB / 0.8087 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/1.111, allocations: 8 kB / 0.8087 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/1.111, allocations: 3.984 kB / 0.8087 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006198/1.117, allocations: 2.898 MB / 0.8115 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.117, allocations: 4 kB / 0.8115 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/1.118, allocations: 255.6 kB / 0.8118 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.607e-05/1.118, allocations: 11.98 kB / 0.8118 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-05/1.119, allocations: 27.98 kB / 0.8118 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006864/1.119, allocations: 1.188 MB / 0.813 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.227e-06/1.119, allocations: 11.94 kB / 0.813 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005278/1.125, allocations: 2.341 MB / 0.8153 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009986/1.126, allocations: 374.8 kB / 0.8156 GB, free: 492 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/1.126, allocations: 20.19 kB / 0.8156 GB, free: 472 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/1.127, allocations: 131.8 kB / 0.8158 GB, free: 340 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/1.127, allocations: 84.44 kB / 0.8159 GB, free: 256 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-05/1.127, allocations: 39.97 kB / 0.8159 GB, free: 216 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.5396/1.667, allocations: 0.8734 MB / 0.8167 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9.52e-07/1.667, allocations: 0 / 0.8167 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005333/1.673, allocations: 0.7835 MB / 0.8175 GB, free: 216.1 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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) * Number of clocked states: 0 () * 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.0116/1.684, allocations: 4.253 MB / 0.8217 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0105/1.695, allocations: 2.122 MB / 0.8237 GB, free: 213.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.699e-05/1.695, allocations: 0.7188 kB / 0.8237 GB, free: 213.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003516/1.698, allocations: 0.6603 MB / 0.8244 GB, free: 212.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006499/1.705, allocations: 0.6761 MB / 0.825 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/1.719, allocations: 7.217 MB / 0.8321 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/1.721, allocations: 1.258 MB / 0.8333 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003919/1.725, allocations: 409.3 kB / 0.8337 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/1.726, allocations: 0.5696 MB / 0.8343 GB, free: 206.1 MB / 0.6387 GB Notification: Performance of SimCode: time 1.333e-06/1.726, allocations: 0 / 0.8343 GB, free: 206.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0925/1.819, allocations: 41.36 MB / 0.8747 GB, free: 176 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/1.819, allocations: 269.1 kB / 0.8749 GB, free: 175.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.92/6.739, allocations: 1.531 kB / 0.8749 GB, free: 175.7 MB / 0.6387 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) Environment - environmentSimulation: