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.0008114/0.0008114, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.000877/0.0008771, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 223.2 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7425/0.7425, allocations: 132.3 MB / 423.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003522, allocations: 11.98 kB / 0.5035 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4275, allocations: 81.57 MB / 0.5832 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.2057/0.6333, allocations: 192.4 MB / 0.771 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01534/0.6487, allocations: 9.983 MB / 0.7808 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.6507, allocations: 51.62 kB / 0.7808 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.6525, allocations: 0.547 MB / 0.7814 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005665/0.6582, allocations: 1.845 MB / 0.7832 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005156/0.6633, allocations: 1.744 MB / 0.7849 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005552/0.6689, allocations: 3.97 MB / 0.7887 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/0.6706, allocations: 0.9957 MB / 0.7897 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003503/0.6741, allocations: 1.548 MB / 0.7912 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001864/0.676, allocations: 1.046 MB / 0.7922 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001993/0.6762, allocations: 60 kB / 0.7923 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004899/0.6811, allocations: 2.238 MB / 0.7945 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005695/0.6817, allocations: 362.5 kB / 0.7948 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007102/0.6824, allocations: 340.8 kB / 0.7952 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003835/0.6863, allocations: 2.288 MB / 0.7974 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.6863, allocations: 0 / 0.7974 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6863, allocations: 0 / 0.7974 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.397e-05/0.6864, allocations: 0 / 0.7974 GB, free: 4.598 MB / 0.6231 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.004998/0.6914, allocations: 2.053 MB / 0.7994 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.6914, allocations: 8.031 kB / 0.7994 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002459/0.6917, allocations: 152.2 kB / 0.7996 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002648/0.6944, allocations: 0.5833 MB / 0.8001 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002555/0.6969, allocations: 1.2 MB / 0.8013 GB, free: 492 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005745/0.6975, allocations: 221.8 kB / 0.8015 GB, free: 272 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/0.6977, allocations: 104 kB / 0.8016 GB, free: 168 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002729/0.7004, allocations: 1.353 MB / 0.8029 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.7005, allocations: 0 / 0.8029 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.7006, allocations: 40 kB / 0.803 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.192e-05/0.7007, allocations: 41.98 kB / 0.803 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003061/0.7037, allocations: 1.39 MB / 0.8044 GB, free: 13.3 MB / 0.6387 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.008724/0.7125, allocations: 5.326 MB / 0.8096 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.7148, allocations: 1.074 MB / 0.8106 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/0.716, allocations: 0.5656 MB / 0.8112 GB, free: 6.016 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/0.7171, allocations: 0.7747 MB / 0.8119 GB, free: 5.094 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001425/0.7185, allocations: 0.6328 MB / 0.8125 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 3.848e-06/0.7186, allocations: 0 / 0.8125 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82): time 0.004147/0.7227, allocations: 1.659 MB / 0.8142 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.7228, allocations: 64.06 kB / 0.8142 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/0.7245, allocations: 1.31 MB / 0.8155 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.7247, allocations: 49.69 kB / 0.8155 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006269/0.7253, allocations: 0.6426 MB / 0.8162 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/0.7256, allocations: 287.9 kB / 0.8164 GB, free: 416 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.7256, allocations: 20 kB / 0.8165 GB, free: 396 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.7258, allocations: 341.9 kB / 0.8168 GB, free: 48 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3661/1.092, allocations: 0.5181 MB / 0.8173 GB, free: 33.77 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/1.094, allocations: 0.8007 MB / 0.8181 GB, free: 33.52 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/1.095, allocations: 0.6016 MB / 0.8187 GB, free: 33.48 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/1.095, allocations: 1.625 kB / 0.8187 GB, free: 33.48 MB / 0.6387 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003618/1.099, allocations: 1.509 MB / 0.8201 GB, free: 33.42 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/1.099, allocations: 269.3 kB / 0.8204 GB, free: 33.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/1.099, allocations: 5.469 kB / 0.8204 GB, free: 33.13 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-05/1.099, allocations: 10.25 kB / 0.8204 GB, free: 33.13 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/1.101, allocations: 355.4 kB / 0.8208 GB, free: 33.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004934/1.101, allocations: 1.199 MB / 0.8219 GB, free: 31.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/1.103, allocations: 242.8 kB / 0.8222 GB, free: 31.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/1.103, allocations: 53.28 kB / 0.8222 GB, free: 31.95 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/1.103, allocations: 5.969 kB / 0.8222 GB, free: 31.95 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003078/1.106, allocations: 1.357 MB / 0.8235 GB, free: 31.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/1.106, allocations: 8.266 kB / 0.8235 GB, free: 31.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.106, allocations: 10.41 kB / 0.8236 GB, free: 31.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/1.107, allocations: 329.5 kB / 0.8239 GB, free: 31.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/1.108, allocations: 11.45 kB / 0.8239 GB, free: 31.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/1.109, allocations: 223.8 kB / 0.8241 GB, free: 31.86 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/1.109, allocations: 51.11 kB / 0.8241 GB, free: 31.86 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.0006761/1.11, allocations: 409.7 kB / 0.8245 GB, free: 31.68 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/1.11, allocations: 162.9 kB / 0.8247 GB, free: 31.62 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/1.113, allocations: 1.374 MB / 0.826 GB, free: 31.53 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/1.113, allocations: 9.062 kB / 0.826 GB, free: 31.53 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.113, allocations: 0.9688 kB / 0.826 GB, free: 31.53 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/1.113, allocations: 6.234 kB / 0.826 GB, free: 31.53 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004923/1.118, allocations: 2.89 MB / 0.8289 GB, free: 31.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/1.118, allocations: 4.375 kB / 0.8289 GB, free: 31.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/1.119, allocations: 251 kB / 0.8291 GB, free: 31.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/1.119, allocations: 11.08 kB / 0.8291 GB, free: 31.04 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.094e-05/1.119, allocations: 28.3 kB / 0.8291 GB, free: 31.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003534/1.12, allocations: 1.192 MB / 0.8303 GB, free: 29.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/1.12, allocations: 14.56 kB / 0.8303 GB, free: 29.86 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004126/1.124, allocations: 2.12 MB / 0.8324 GB, free: 29.48 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00067/1.125, allocations: 368.2 kB / 0.8327 GB, free: 29.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/1.125, allocations: 24.55 kB / 0.8328 GB, free: 29.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/1.126, allocations: 133 kB / 0.8329 GB, free: 29.29 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/1.126, allocations: 73.61 kB / 0.833 GB, free: 29.28 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.12e-05/1.126, allocations: 38.83 kB / 0.833 GB, free: 29.28 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001367/1.127, allocations: 0.8721 MB / 0.8339 GB, free: 29.17 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/1.127, allocations: 1.344 kB / 0.8339 GB, free: 29.17 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002484/1.13, allocations: 0.7894 MB / 0.8346 GB, free: 29.11 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.004778/1.135, allocations: 3.033 MB / 0.8376 GB, free: 28.14 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004426/1.139, allocations: 2.125 MB / 0.8397 GB, free: 27.96 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.139, allocations: 6.969 kB / 0.8397 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/1.141, allocations: 0.659 MB / 0.8403 GB, free: 27.94 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002949/1.144, allocations: 0.6977 MB / 0.841 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/1.159, allocations: 9.411 MB / 0.8502 GB, free: 24.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006124/1.159, allocations: 1.227 MB / 0.8514 GB, free: 23.87 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001818/1.161, allocations: 410.7 kB / 0.8518 GB, free: 23.77 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006894/1.162, allocations: 0.5737 MB / 0.8523 GB, free: 23.76 MB / 0.6387 GB Notification: Performance of SimCode: time 7.82e-07/1.162, allocations: 0 / 0.8523 GB, free: 23.76 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05666/1.219, allocations: 42.08 MB / 0.8934 GB, free: 3.777 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/1.219, allocations: 269.7 kB / 0.8937 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.038/4.257, allocations: 0 / 0.8937 GB, free: 3.418 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: