Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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: translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.00167/0.00167, allocations: 113.9 kB / 16.42 MB, free: 6.523 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.001853/0.001853, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8035/0.8035, allocations: 132.2 MB / 423.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.75 kB / 0.582 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1869, allocations: 80.2 MB / 0.6604 GB, free: 10.2 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter mov.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.687/0.8739, allocations: 235.9 MB / 0.8908 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02412/0.8981, allocations: 15.73 MB / 0.9061 GB, free: 10 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003259/0.9014, allocations: 91.5 kB / 0.9062 GB, free: 9.91 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003824/0.9052, allocations: 1.339 MB / 0.9075 GB, free: 8.566 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01038/0.9156, allocations: 3.537 MB / 0.911 GB, free: 5.02 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006891/0.9225, allocations: 2.515 MB / 0.9134 GB, free: 2.52 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007568/0.9301, allocations: 4.971 MB / 0.9183 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003397/0.9335, allocations: 1.906 MB / 0.9201 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006446/0.94, allocations: 2.775 MB / 0.9229 GB, free: 8.797 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003385/0.9434, allocations: 1.55 MB / 0.9244 GB, free: 7.25 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0008215/0.9442, allocations: 200 kB / 0.9246 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007834/0.9521, allocations: 3.45 MB / 0.9279 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001169/0.9533, allocations: 0.74 MB / 0.9287 GB, free: 2.855 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002279/0.9555, allocations: 1.197 MB / 0.9298 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007969/0.9635, allocations: 4.337 MB / 0.9341 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.9635, allocations: 0 / 0.9341 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9636, allocations: 0 / 0.9341 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001093/0.9637, allocations: 0 / 0.9341 GB, free: 13.3 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.006312/0.97, allocations: 2.92 MB / 0.9369 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.97, allocations: 12.03 kB / 0.9369 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005178/0.9752, allocations: 0.7828 MB / 0.9377 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004042/0.9793, allocations: 1.752 MB / 0.9394 GB, free: 7.711 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.9794, allocations: 102.6 kB / 0.9395 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003157/0.9797, allocations: 144 kB / 0.9396 GB, free: 7.469 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003517/0.9833, allocations: 1.647 MB / 0.9412 GB, free: 5.746 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.718e-05/0.9833, allocations: 7.938 kB / 0.9412 GB, free: 5.738 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/0.9835, allocations: 63.98 kB / 0.9413 GB, free: 5.676 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-05/0.9835, allocations: 47.56 kB / 0.9414 GB, free: 5.629 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003443/0.987, allocations: 1.419 MB / 0.9427 GB, free: 4.203 MB / 0.7012 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.01163/0.9986, allocations: 7.733 MB / 0.9503 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/1.001, allocations: 1.56 MB / 0.9518 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/1.002, allocations: 0.5141 MB / 0.9523 GB, free: 9.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/1.004, allocations: 0.7747 MB / 0.9531 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001225/1.005, allocations: 0.5555 MB / 0.9536 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=83): time 4.077e-06/1.005, allocations: 0 / 0.9536 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=83): time 0.004219/1.009, allocations: 1.575 MB / 0.9552 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/1.009, allocations: 60.41 kB / 0.9552 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002384/1.012, allocations: 1.571 MB / 0.9567 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/1.012, allocations: 49.69 kB / 0.9568 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008086/1.013, allocations: 0.9452 MB / 0.9577 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002914/1.013, allocations: 313.3 kB / 0.958 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003572/1.013, allocations: 210.8 kB / 0.9582 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.014, allocations: 349.9 kB / 0.9585 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/1.015, allocations: 453.8 kB / 0.959 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/1.016, allocations: 0.782 MB / 0.9597 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002334/1.018, allocations: 1.211 MB / 0.9609 GB, free: 384 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/1.018, allocations: 4 kB / 0.9609 GB, free: 380 kB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003265/1.022, allocations: 1.424 MB / 0.9623 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/1.022, allocations: 37.7 kB / 0.9624 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/1.022, allocations: 12.03 kB / 0.9624 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/1.022, allocations: 19.94 kB / 0.9624 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/1.023, allocations: 267.6 kB / 0.9626 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.909e-05/1.023, allocations: 19.88 kB / 0.9627 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/1.024, allocations: 139.9 kB / 0.9628 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/1.025, allocations: 51.98 kB / 0.9628 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001783/1.026, allocations: 0.8069 MB / 0.9636 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00131/1.028, allocations: 0.7702 MB / 0.9644 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002213/1.03, allocations: 1.184 MB / 0.9655 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.538e-06/1.03, allocations: 4 kB / 0.9655 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.003184/1.033, allocations: 1.404 MB / 0.9669 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/1.033, allocations: 33.7 kB / 0.967 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/1.033, allocations: 11.98 kB / 0.967 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/1.033, allocations: 16 kB / 0.967 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/1.034, allocations: 263.7 kB / 0.9672 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.201e-05/1.034, allocations: 23.92 kB / 0.9673 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/1.036, allocations: 134.8 kB / 0.9674 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/1.036, allocations: 47.98 kB / 0.9674 GB, free: 9.406 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (131): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0004713/1.037, allocations: 252 kB / 0.9677 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006493/1.038, allocations: 186.8 kB / 0.9678 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003462/1.041, allocations: 1.161 MB / 0.969 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002286/1.043, allocations: 1.219 MB / 0.9702 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.043, allocations: 0 / 0.9702 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008401/1.044, allocations: 367.6 kB / 0.9705 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003582/1.045, allocations: 23.94 kB / 0.9705 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/1.046, allocations: 55.94 kB / 0.9706 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/1.046, allocations: 56.92 kB / 0.9706 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003247/1.049, allocations: 1.185 MB / 0.9718 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003574/1.053, allocations: 1.826 MB / 0.9736 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009813/1.054, allocations: 475.7 kB / 0.974 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001672/1.055, allocations: 1.057 MB / 0.9751 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of Backend: time 9.02e-07/1.055, allocations: 0 / 0.9751 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006552/1.062, allocations: 2.467 MB / 0.9775 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of SimCode: time 0.007253/1.069, allocations: 4.352 MB / 0.9817 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of Templates: time 0.0734/1.143, allocations: 42.31 MB / 1.023 GB, free: 0.7461 MB / 0.7794 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)