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.001407/0.001407, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001403/0.001403, allocations: 195.3 kB / 16.26 MB, free: 6.629 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9807/0.9807, allocations: 135.1 MB / 425.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.72 kB / 0.5048 GB, free: 5.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1576, allocations: 80.94 MB / 0.5839 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.5605/0.7181, allocations: 233 MB / 0.8114 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02243/0.7406, allocations: 15.61 MB / 0.8267 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003523/0.7442, allocations: 87.38 kB / 0.8268 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004075/0.7483, allocations: 1.181 MB / 0.8279 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009208/0.7575, allocations: 3.195 MB / 0.831 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006634/0.7642, allocations: 2.271 MB / 0.8333 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00748/0.7717, allocations: 4.968 MB / 0.8381 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003407/0.7751, allocations: 1.895 MB / 0.84 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006089/0.7812, allocations: 2.693 MB / 0.8426 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004152/0.7854, allocations: 1.654 MB / 0.8442 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006521/0.7861, allocations: 208 kB / 0.8444 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008263/0.7944, allocations: 3.535 MB / 0.8479 GB, free: 14.72 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001953/0.7964, allocations: 0.7633 MB / 0.8486 GB, free: 13.95 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002868/0.7992, allocations: 1.201 MB / 0.8498 GB, free: 12.75 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009573/0.8088, allocations: 4.456 MB / 0.8541 GB, free: 8.277 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.8089, allocations: 0 / 0.8541 GB, free: 8.277 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.953e-06/0.8089, allocations: 0 / 0.8541 GB, free: 8.277 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.151e-05/0.809, allocations: 0 / 0.8541 GB, free: 8.277 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.00518/0.8142, allocations: 2.837 MB / 0.8569 GB, free: 5.375 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.8142, allocations: 12.03 kB / 0.8569 GB, free: 5.363 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004996/0.8192, allocations: 0.7735 MB / 0.8577 GB, free: 4.586 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003277/0.8225, allocations: 1.66 MB / 0.8593 GB, free: 2.875 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003747/0.8229, allocations: 166.5 kB / 0.8594 GB, free: 2.711 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002374/0.8232, allocations: 143.9 kB / 0.8596 GB, free: 2.57 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003199/0.8264, allocations: 1.653 MB / 0.8612 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.63e-05/0.8264, allocations: 8.375 kB / 0.8612 GB, free: 0.8398 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.8266, allocations: 56 kB / 0.8613 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.413e-05/0.8266, allocations: 46.52 kB / 0.8613 GB, free: 0.7383 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3322/1.159, allocations: 1.45 MB / 0.8627 GB, free: 221.7 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.009762/1.169, allocations: 7.55 MB / 0.8701 GB, free: 217.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002272/1.171, allocations: 1.582 MB / 0.8716 GB, free: 216.2 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009325/1.172, allocations: 0.5315 MB / 0.8722 GB, free: 216.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/1.173, allocations: 0.7734 MB / 0.8729 GB, free: 215.3 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/1.174, allocations: 0.5699 MB / 0.8735 GB, free: 215.1 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007661/1.175, allocations: 99.64 kB / 0.8736 GB, free: 215.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 3.837e-06/1.175, allocations: 0 / 0.8736 GB, free: 215.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=85): time 0.003586/1.179, allocations: 1.61 MB / 0.8751 GB, free: 214.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/1.179, allocations: 69.52 kB / 0.8752 GB, free: 214.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/1.18, allocations: 1.57 MB / 0.8767 GB, free: 213.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.113e-05/1.18, allocations: 44.14 kB / 0.8768 GB, free: 213.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006072/1.181, allocations: 0.9223 MB / 0.8777 GB, free: 213.1 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/1.181, allocations: 296.6 kB / 0.878 GB, free: 212.8 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/1.182, allocations: 215.9 kB / 0.8782 GB, free: 212.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.462e-05/1.182, allocations: 351.8 kB / 0.8785 GB, free: 212.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009515/1.183, allocations: 464 kB / 0.8789 GB, free: 212.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/1.184, allocations: 0.7924 MB / 0.8797 GB, free: 211.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00199/1.186, allocations: 1.239 MB / 0.8809 GB, free: 211 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/1.186, allocations: 3.281 kB / 0.8809 GB, free: 211 MB / 0.67 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00274/1.188, allocations: 1.454 MB / 0.8823 GB, free: 210.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/1.189, allocations: 36.48 kB / 0.8824 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/1.189, allocations: 8.344 kB / 0.8824 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/1.189, allocations: 15.31 kB / 0.8824 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/1.19, allocations: 282 kB / 0.8827 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-05/1.19, allocations: 24.02 kB / 0.8827 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/1.191, allocations: 144.7 kB / 0.8828 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.716e-05/1.191, allocations: 59.12 kB / 0.8829 GB, free: 210.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00148/1.193, allocations: 0.8129 MB / 0.8837 GB, free: 210 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001032/1.194, allocations: 0.7798 MB / 0.8844 GB, free: 209.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00186/1.196, allocations: 1.208 MB / 0.8856 GB, free: 208.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.16e-06/1.196, allocations: 3.375 kB / 0.8856 GB, free: 208.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=135) (initialization_lambda0): time 0.002532/1.198, allocations: 1.421 MB / 0.887 GB, free: 208.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/1.198, allocations: 38.3 kB / 0.8871 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.198, allocations: 9.484 kB / 0.8871 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/1.199, allocations: 18.77 kB / 0.8871 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/1.2, allocations: 273 kB / 0.8873 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/1.2, allocations: 19.88 kB / 0.8874 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/1.201, allocations: 156.4 kB / 0.8875 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/1.201, allocations: 51.81 kB / 0.8876 GB, free: 208.1 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.0002966/1.202, allocations: 246.8 kB / 0.8878 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/1.202, allocations: 181.5 kB / 0.888 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/1.204, allocations: 1.195 MB / 0.8891 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/1.205, allocations: 9.844 kB / 0.8891 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/1.205, allocations: 0 / 0.8891 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002011/1.207, allocations: 1.255 MB / 0.8904 GB, free: 206.5 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.00548/1.212, allocations: 2.919 MB / 0.8932 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/1.212, allocations: 3.828 kB / 0.8932 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000956/1.213, allocations: 197.2 kB / 0.8934 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002183/1.213, allocations: 43.92 kB / 0.8935 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-05/1.213, allocations: 28.42 kB / 0.8935 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/1.214, allocations: 1.535 MB / 0.895 GB, free: 203.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.214, allocations: 0 / 0.895 GB, free: 203.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003496/1.218, allocations: 1.806 MB / 0.8967 GB, free: 202.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006489/1.219, allocations: 336.3 kB / 0.8971 GB, free: 202.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003157/1.219, allocations: 22.31 kB / 0.8971 GB, free: 202.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/1.22, allocations: 128.2 kB / 0.8972 GB, free: 202.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/1.221, allocations: 73.66 kB / 0.8973 GB, free: 202.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-05/1.221, allocations: 28.86 kB / 0.8973 GB, free: 202.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001884/1.223, allocations: 1.054 MB / 0.8983 GB, free: 202.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/1.223, allocations: 0 / 0.8983 GB, free: 202.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003655/1.226, allocations: 0.9583 MB / 0.8993 GB, free: 201.9 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 (86): * Single equations (assignments): 83 * 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.001818/1.228, allocations: 0.6048 MB / 0.8999 GB, free: 201.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005009/1.233, allocations: 1.956 MB / 0.9018 GB, free: 201.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/1.233, allocations: 5.25 kB / 0.9018 GB, free: 201.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/1.234, allocations: 0.6225 MB / 0.9024 GB, free: 200.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004057/1.239, allocations: 0.8285 MB / 0.9032 GB, free: 200.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/1.251, allocations: 4.493 MB / 0.9076 GB, free: 198 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002501/1.253, allocations: 1.493 MB / 0.909 GB, free: 197.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003309/1.256, allocations: 461.7 kB / 0.9095 GB, free: 197 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006476/1.257, allocations: 130.4 kB / 0.9096 GB, free: 197 MB / 0.67 GB Notification: Performance of SimCode: time 8.62e-07/1.257, allocations: 0 / 0.9096 GB, free: 197 MB / 0.67 GB Notification: Performance of Templates: time 0.06271/1.32, allocations: 31.44 MB / 0.9403 GB, free: 186 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)