Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0007594/0.0007598, allocations: 99.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008577/0.0008577, allocations: 182.7 kB / 16.92 MB, free: 6.918 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.35/1.35, allocations: 223.3 MB / 241 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9753/0.9753, allocations: 135.3 MB / 427.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003854, allocations: 8 kB / 0.5082 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1743, allocations: 82.3 MB / 0.5886 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.5156/0.6899, allocations: 230.5 MB / 0.8137 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02469/0.7146, allocations: 15.7 MB / 0.8291 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003224/0.7179, allocations: 79.44 kB / 0.8292 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003615/0.7215, allocations: 1.134 MB / 0.8303 GB, free: 4.859 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008911/0.7305, allocations: 3.174 MB / 0.8334 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006151/0.7366, allocations: 2.231 MB / 0.8355 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008642/0.7453, allocations: 6.535 MB / 0.8419 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003056/0.7484, allocations: 1.6 MB / 0.8435 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006024/0.7544, allocations: 2.342 MB / 0.8458 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003627/0.7581, allocations: 1.536 MB / 0.8473 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000489/0.7586, allocations: 80 kB / 0.8473 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007349/0.766, allocations: 3.733 MB / 0.851 GB, free: 15.57 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.7672, allocations: 0.6228 MB / 0.8516 GB, free: 14.94 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001937/0.7692, allocations: 1.074 MB / 0.8526 GB, free: 13.86 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005121/0.7743, allocations: 3.137 MB / 0.8557 GB, free: 10.71 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.7743, allocations: 0 / 0.8557 GB, free: 10.71 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7743, allocations: 0 / 0.8557 GB, free: 10.71 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.046e-05/0.7744, allocations: 0 / 0.8557 GB, free: 10.71 MB / 0.67 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.005073/0.7795, allocations: 2.429 MB / 0.8581 GB, free: 8.219 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.7796, allocations: 12.03 kB / 0.8581 GB, free: 8.207 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005125/0.7847, allocations: 0.8127 MB / 0.8589 GB, free: 7.391 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003567/0.7883, allocations: 1.668 MB / 0.8605 GB, free: 5.672 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004431/0.7888, allocations: 178.5 kB / 0.8607 GB, free: 5.496 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000309/0.7891, allocations: 144 kB / 0.8608 GB, free: 5.355 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003345/0.7925, allocations: 1.676 MB / 0.8625 GB, free: 3.609 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/0.7925, allocations: 3.938 kB / 0.8625 GB, free: 3.605 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.7927, allocations: 52 kB / 0.8625 GB, free: 3.555 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.29e-05/0.7927, allocations: 54.5 kB / 0.8626 GB, free: 3.5 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003341/0.7961, allocations: 1.489 MB / 0.864 GB, free: 2.004 MB / 0.67 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.3283/1.124, allocations: 7.598 MB / 0.8714 GB, free: 214.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/1.127, allocations: 1.633 MB / 0.873 GB, free: 213.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009981/1.128, allocations: 0.5415 MB / 0.8736 GB, free: 213.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/1.129, allocations: 0.8091 MB / 0.8744 GB, free: 212.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001121/1.13, allocations: 0.581 MB / 0.8749 GB, free: 212.6 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008793/1.131, allocations: 124.2 kB / 0.875 GB, free: 212.6 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 3.186e-06/1.131, allocations: 0 / 0.875 GB, free: 212.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=85): time 0.003873/1.135, allocations: 1.658 MB / 0.8767 GB, free: 212.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/1.135, allocations: 61.28 kB / 0.8767 GB, free: 212.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/1.137, allocations: 1.564 MB / 0.8782 GB, free: 212.1 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.234e-05/1.137, allocations: 48.14 kB / 0.8783 GB, free: 212 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005747/1.137, allocations: 0.9241 MB / 0.8792 GB, free: 211.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/1.138, allocations: 296.3 kB / 0.8795 GB, free: 211.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/1.138, allocations: 100.2 kB / 0.8796 GB, free: 211 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.653e-05/1.138, allocations: 348.4 kB / 0.8799 GB, free: 210.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009297/1.139, allocations: 466.9 kB / 0.8803 GB, free: 210.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/1.14, allocations: 0.8133 MB / 0.8811 GB, free: 210 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/1.142, allocations: 1.267 MB / 0.8824 GB, free: 209.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/1.142, allocations: 3.156 kB / 0.8824 GB, free: 209.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002632/1.145, allocations: 1.468 MB / 0.8838 GB, free: 208.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001884/1.145, allocations: 385.2 kB / 0.8842 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/1.145, allocations: 9.312 kB / 0.8842 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/1.145, allocations: 16.77 kB / 0.8842 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/1.146, allocations: 281.9 kB / 0.8845 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/1.146, allocations: 18.58 kB / 0.8845 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/1.147, allocations: 156.2 kB / 0.8846 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.018e-05/1.147, allocations: 51.47 kB / 0.8847 GB, free: 208.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.644e-06/1.147, allocations: 3 kB / 0.8847 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00223/1.15, allocations: 1.27 MB / 0.8859 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.15, allocations: 8.906 kB / 0.8859 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/1.15, allocations: 15.19 kB / 0.886 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.151, allocations: 285.5 kB / 0.8862 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/1.151, allocations: 21.3 kB / 0.8863 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/1.152, allocations: 155.1 kB / 0.8864 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-05/1.152, allocations: 52.81 kB / 0.8865 GB, free: 207.7 MB / 0.67 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 (133): * Single equations (assignments): 131 * 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.000842/1.153, allocations: 0.5326 MB / 0.887 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/1.153, allocations: 180.3 kB / 0.8871 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/1.156, allocations: 1.213 MB / 0.8883 GB, free: 206.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/1.156, allocations: 8.375 kB / 0.8883 GB, free: 206.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.156, allocations: 3.328 kB / 0.8883 GB, free: 206.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001959/1.158, allocations: 1.28 MB / 0.8896 GB, free: 206 MB / 0.67 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 postOpt removeSimpleEquations (simulation): time 0.004765/1.162, allocations: 2.97 MB / 0.8925 GB, free: 204.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.163, allocations: 2.781 kB / 0.8925 GB, free: 204.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000887/1.163, allocations: 202.2 kB / 0.8927 GB, free: 204.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002052/1.164, allocations: 47.11 kB / 0.8927 GB, free: 204.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/1.164, allocations: 23.91 kB / 0.8928 GB, free: 204.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009673/1.165, allocations: 1.423 MB / 0.8941 GB, free: 203.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.165, allocations: 3.938 kB / 0.8941 GB, free: 203.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003212/1.168, allocations: 1.834 MB / 0.8959 GB, free: 202.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000723/1.169, allocations: 342.2 kB / 0.8963 GB, free: 202.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/1.169, allocations: 21.09 kB / 0.8963 GB, free: 202.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/1.17, allocations: 157.2 kB / 0.8964 GB, free: 202.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/1.17, allocations: 66.25 kB / 0.8965 GB, free: 202.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.834e-05/1.17, allocations: 32.56 kB / 0.8965 GB, free: 202.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001496/1.172, allocations: 1.055 MB / 0.8976 GB, free: 201.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.91e-07/1.172, allocations: 0 / 0.8976 GB, free: 201.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00281/1.175, allocations: 0.9505 MB / 0.8985 GB, free: 201.5 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001392/1.176, allocations: 0.6043 MB / 0.8991 GB, free: 201.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003867/1.18, allocations: 1.857 MB / 0.9009 GB, free: 200.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/1.18, allocations: 1.344 kB / 0.9009 GB, free: 200.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/1.181, allocations: 0.6371 MB / 0.9015 GB, free: 200.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00367/1.185, allocations: 0.7725 MB / 0.9023 GB, free: 200.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007762/1.193, allocations: 4.59 MB / 0.9067 GB, free: 197.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/1.194, allocations: 1.489 MB / 0.9082 GB, free: 196.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005178/1.194, allocations: 137.4 kB / 0.9083 GB, free: 196.8 MB / 0.67 GB Notification: Performance of SimCode: time 6.71e-07/1.194, allocations: 0 / 0.9083 GB, free: 196.8 MB / 0.67 GB Notification: Performance of Templates: time 0.05546/1.25, allocations: 33.58 MB / 0.9411 GB, free: 185.9 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)