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.001273/0.001273, allocations: 102.2 kB / 16.27 MB, free: 6 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.001175/0.001175, allocations: 191 kB / 17.2 MB, free: 5.609 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.309/1.309, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.795/0.795, allocations: 135.2 MB / 426.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001869, allocations: 71.88 kB / 0.506 GB, free: 8.309 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3679, allocations: 80.92 MB / 0.5851 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.571/0.939, allocations: 235.9 MB / 0.8155 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02152/0.9605, allocations: 15.72 MB / 0.8308 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004215/0.9648, allocations: 90.38 kB / 0.8309 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003827/0.9686, allocations: 1.321 MB / 0.8322 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009573/0.9783, allocations: 3.42 MB / 0.8355 GB, free: 44 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00696/0.9853, allocations: 2.477 MB / 0.8379 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007785/0.9931, allocations: 4.964 MB / 0.8428 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00351/0.9966, allocations: 1.894 MB / 0.8446 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006762/1.003, allocations: 2.684 MB / 0.8473 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003727/1.007, allocations: 1.563 MB / 0.8488 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004871/1.008, allocations: 199.4 kB / 0.849 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007938/1.016, allocations: 3.419 MB / 0.8523 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00125/1.017, allocations: 0.7459 MB / 0.853 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00217/1.019, allocations: 1.194 MB / 0.8542 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009088/1.028, allocations: 4.268 MB / 0.8584 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.028, allocations: 4 kB / 0.8584 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.944e-06/1.028, allocations: 0 / 0.8584 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.422e-05/1.028, allocations: 0 / 0.8584 GB, free: 3.164 MB / 0.5919 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.005427/1.034, allocations: 2.821 MB / 0.8611 GB, free: 320 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/1.034, allocations: 9.109 kB / 0.8611 GB, free: 312 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004835/1.039, allocations: 0.7764 MB / 0.8619 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003378/1.042, allocations: 1.656 MB / 0.8635 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003994/1.042, allocations: 160.8 kB / 0.8637 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/1.043, allocations: 143.9 kB / 0.8638 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003263/1.046, allocations: 1.66 MB / 0.8654 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/1.046, allocations: 0 / 0.8654 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/1.046, allocations: 59.28 kB / 0.8655 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.775e-05/1.046, allocations: 54.48 kB / 0.8655 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003259/1.05, allocations: 1.425 MB / 0.8669 GB, free: 10.34 MB / 0.6075 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.01145/1.061, allocations: 7.792 MB / 0.8745 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002744/1.064, allocations: 1.58 MB / 0.8761 GB, free: 420 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/1.065, allocations: 0.5145 MB / 0.8766 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/1.066, allocations: 0.7749 MB / 0.8773 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001227/1.067, allocations: 0.5539 MB / 0.8779 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=83): time 2.996e-06/1.068, allocations: 0 / 0.8779 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83): time 0.0043/1.072, allocations: 1.596 MB / 0.8794 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/1.072, allocations: 64.41 kB / 0.8795 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/1.074, allocations: 1.559 MB / 0.881 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/1.074, allocations: 45.7 kB / 0.8811 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008636/1.075, allocations: 0.9315 MB / 0.882 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003043/1.075, allocations: 294.2 kB / 0.8823 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003383/1.076, allocations: 210 kB / 0.8825 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.076, allocations: 345.9 kB / 0.8828 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/1.077, allocations: 465.8 kB / 0.8832 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/1.078, allocations: 0.7792 MB / 0.884 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002375/1.081, allocations: 1.232 MB / 0.8852 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.081, allocations: 0 / 0.8852 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003102/1.084, allocations: 1.43 MB / 0.8866 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/1.084, allocations: 36.05 kB / 0.8866 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/1.084, allocations: 8 kB / 0.8866 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/1.084, allocations: 15.94 kB / 0.8867 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/1.085, allocations: 275.7 kB / 0.8869 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-05/1.085, allocations: 18.53 kB / 0.8869 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/1.086, allocations: 141.7 kB / 0.8871 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.539e-05/1.087, allocations: 51.98 kB / 0.8871 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001726/1.088, allocations: 0.8095 MB / 0.8879 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001319/1.09, allocations: 0.765 MB / 0.8887 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002283/1.092, allocations: 1.201 MB / 0.8898 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.559e-06/1.092, allocations: 0 / 0.8898 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.003122/1.095, allocations: 1.402 MB / 0.8912 GB, free: 340 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/1.095, allocations: 33.7 kB / 0.8912 GB, free: 300 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/1.095, allocations: 8 kB / 0.8912 GB, free: 292 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.095, allocations: 16 kB / 0.8913 GB, free: 276 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/1.096, allocations: 271.6 kB / 0.8915 GB, free: 20 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.263e-05/1.096, allocations: 22.61 kB / 0.8915 GB, free: 0 / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/1.098, allocations: 125.1 kB / 0.8917 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.111e-05/1.098, allocations: 54.42 kB / 0.8917 GB, free: 15.82 MB / 0.6387 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.0003344/1.098, allocations: 245.1 kB / 0.8919 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/1.098, allocations: 177.8 kB / 0.8921 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002819/1.101, allocations: 1.167 MB / 0.8932 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/1.101, allocations: 8 kB / 0.8933 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/1.101, allocations: 4 kB / 0.8933 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002291/1.104, allocations: 1.245 MB / 0.8945 GB, free: 12.89 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 postOpt removeSimpleEquations (simulation): time 0.005337/1.109, allocations: 2.909 MB / 0.8973 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/1.109, allocations: 4 kB / 0.8973 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009418/1.11, allocations: 183.7 kB / 0.8975 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002187/1.11, allocations: 48.81 kB / 0.8975 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.529e-05/1.11, allocations: 27.98 kB / 0.8976 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/1.111, allocations: 1.524 MB / 0.8991 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.111, allocations: 8.016 kB / 0.8991 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003668/1.115, allocations: 1.774 MB / 0.9008 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007039/1.116, allocations: 350.6 kB / 0.9011 GB, free: 5.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/1.116, allocations: 24 kB / 0.9012 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009329/1.117, allocations: 55.94 kB / 0.9012 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/1.117, allocations: 67.03 kB / 0.9013 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.977e-05/1.117, allocations: 35.98 kB / 0.9013 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001509/1.119, allocations: 1.053 MB / 0.9023 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/1.119, allocations: 0 / 0.9023 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002225/1.121, allocations: 0.9272 MB / 0.9032 GB, free: 3.688 MB / 0.6387 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 (83): * Single equations (assignments): 80 * 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.001878/1.123, allocations: 0.5907 MB / 0.9038 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004484/1.127, allocations: 1.923 MB / 0.9057 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.127, allocations: 0 / 0.9057 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001342/1.129, allocations: 0.6065 MB / 0.9063 GB, free: 0.8164 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003608/1.132, allocations: 0.8158 MB / 0.9071 GB, free: 32 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00773/1.14, allocations: 3.754 MB / 0.9107 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/1.141, allocations: 1.491 MB / 0.9122 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005438/1.142, allocations: 135.4 kB / 0.9123 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of SimCode: time 7.12e-07/1.142, allocations: 4 kB / 0.9123 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of Templates: time 0.05193/1.194, allocations: 33.89 MB / 0.9454 GB, free: 8.887 MB / 0.6856 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)