Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.001503/0.001503, allocations: 185.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002229/0.002229, allocations: 290.8 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9407/0.9407, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 91.86 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3897, allocations: 86.98 MB / 0.7671 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.5902/0.9799, allocations: 236.4 MB / 0.9979 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02179/1.002, allocations: 17.53 MB / 1.015 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003224/1.005, allocations: 90.64 kB / 1.015 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005067/1.01, allocations: 2.156 MB / 1.017 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008775/1.019, allocations: 3.711 MB / 1.021 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0059/1.025, allocations: 2.595 MB / 1.023 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009951/1.035, allocations: 7.899 MB / 1.031 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002495/1.037, allocations: 1.937 MB / 1.033 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005135/1.042, allocations: 2.778 MB / 1.036 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002631/1.045, allocations: 1.623 MB / 1.037 GB, free: 452 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003102/1.045, allocations: 210.3 kB / 1.037 GB, free: 452 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006097/1.051, allocations: 3.617 MB / 1.041 GB, free: 408 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008183/1.052, allocations: 0.886 MB / 1.042 GB, free: 128 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001629/1.054, allocations: 1.392 MB / 1.043 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006936/1.061, allocations: 4.912 MB / 1.048 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/1.061, allocations: 4 kB / 1.048 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.924e-06/1.061, allocations: 0 / 1.048 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.58e-05/1.061, allocations: 0 / 1.048 GB, free: 13.24 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.005472/1.066, allocations: 3.242 MB / 1.051 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/1.067, allocations: 10.22 kB / 1.051 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005523/1.072, allocations: 0.8798 MB / 1.052 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00468/1.077, allocations: 2.806 MB / 1.055 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.004e-05/1.077, allocations: 104.2 kB / 1.055 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/1.077, allocations: 145.2 kB / 1.055 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003134/1.08, allocations: 1.667 MB / 1.057 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/1.08, allocations: 10.47 kB / 1.057 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/1.08, allocations: 57.47 kB / 1.057 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.565e-05/1.08, allocations: 50.2 kB / 1.057 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/1.084, allocations: 1.446 MB / 1.058 GB, free: 6.383 MB / 0.7325 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.01128/1.095, allocations: 8.112 MB / 1.066 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002695/1.098, allocations: 1.56 MB / 1.068 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/1.099, allocations: 0.5199 MB / 1.068 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001283/1.1, allocations: 0.7731 MB / 1.069 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00122/1.102, allocations: 0.5391 MB / 1.069 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=82): time 2.845e-06/1.102, allocations: 0 / 1.069 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82): time 0.004212/1.106, allocations: 1.603 MB / 1.071 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/1.106, allocations: 64.06 kB / 1.071 GB, free: 8.441 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002718/1.109, allocations: 2.156 MB / 1.073 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/1.109, allocations: 49.7 kB / 1.073 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009857/1.11, allocations: 1.053 MB / 1.074 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/1.11, allocations: 296.2 kB / 1.075 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004463/1.11, allocations: 322.5 kB / 1.075 GB, free: 4.539 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.893e-05/1.11, allocations: 309.1 kB / 1.075 GB, free: 4.234 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/1.112, allocations: 0.6157 MB / 1.076 GB, free: 3.617 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/1.113, allocations: 1.012 MB / 1.077 GB, free: 2.457 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002558/1.116, allocations: 1.555 MB / 1.078 GB, free: 0.8164 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/1.116, allocations: 4 kB / 1.078 GB, free: 0.8125 MB / 0.7481 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003601/1.12, allocations: 1.899 MB / 1.08 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/1.12, allocations: 44.97 kB / 1.08 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.12, allocations: 8 kB / 1.08 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/1.12, allocations: 16 kB / 1.08 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/1.121, allocations: 322.2 kB / 1.08 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.457e-05/1.121, allocations: 25.05 kB / 1.08 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/1.123, allocations: 182.5 kB / 1.081 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/1.123, allocations: 63.98 kB / 1.081 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002082/1.125, allocations: 1.101 MB / 1.082 GB, free: 13.22 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001489/1.126, allocations: 1.016 MB / 1.083 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002546/1.129, allocations: 1.554 MB / 1.084 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.855e-06/1.129, allocations: 7.938 kB / 1.084 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.003457/1.132, allocations: 1.894 MB / 1.086 GB, free: 8.547 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.8e-05/1.132, allocations: 41.69 kB / 1.086 GB, free: 8.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/1.132, allocations: 12.06 kB / 1.086 GB, free: 8.488 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/1.133, allocations: 19.98 kB / 1.086 GB, free: 8.469 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/1.134, allocations: 320.5 kB / 1.087 GB, free: 8.176 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.737e-05/1.134, allocations: 22.52 kB / 1.087 GB, free: 8.156 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/1.135, allocations: 169.6 kB / 1.087 GB, free: 7.992 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/1.136, allocations: 59.98 kB / 1.087 GB, free: 7.934 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002911/1.136, allocations: 264.4 kB / 1.087 GB, free: 7.688 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/1.136, allocations: 209.3 kB / 1.087 GB, free: 7.48 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00285/1.139, allocations: 1.179 MB / 1.088 GB, free: 6.293 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002284/1.141, allocations: 1.233 MB / 1.09 GB, free: 4.977 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.141, allocations: 0 / 1.09 GB, free: 4.977 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008402/1.142, allocations: 398.1 kB / 1.09 GB, free: 4.566 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003633/1.143, allocations: 24 kB / 1.09 GB, free: 4.543 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/1.144, allocations: 71.86 kB / 1.09 GB, free: 4.473 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/1.144, allocations: 63.45 kB / 1.09 GB, free: 4.41 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003329/1.147, allocations: 1.195 MB / 1.091 GB, free: 3.223 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003792/1.151, allocations: 1.814 MB / 1.093 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00099/1.152, allocations: 479.7 kB / 1.094 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002233/1.154, allocations: 1.441 MB / 1.095 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of Backend: time 4e-07/1.154, allocations: 0 / 1.095 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.007373/1.162, allocations: 3.117 MB / 1.098 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of SimCode: time 0.009455/1.171, allocations: 5.098 MB / 1.103 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of Templates: time 0.08243/1.254, allocations: 50.7 MB / 1.152 GB, free: 5.453 MB / 0.8262 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)