Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00902/0.00902, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9774/0.9774, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.000387, allocations: 15.94 kB / 0.5076 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1886, allocations: 82.31 MB / 0.588 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.6575/0.8461, allocations: 254.7 MB / 0.8367 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02767/0.8739, allocations: 16.96 MB / 0.8533 GB, free: 12.52 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004646/0.8786, allocations: 79.5 kB / 0.8533 GB, free: 12.44 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00431/0.8829, allocations: 1.24 MB / 0.8545 GB, free: 11.2 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01207/0.895, allocations: 3.731 MB / 0.8582 GB, free: 7.453 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007786/0.9028, allocations: 2.298 MB / 0.8604 GB, free: 5.18 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.4754/1.378, allocations: 7.816 MB / 0.8681 GB, free: 20.88 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0032/1.381, allocations: 1.774 MB / 0.8698 GB, free: 20.71 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005739/1.387, allocations: 2.342 MB / 0.8721 GB, free: 20.7 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004362/1.392, allocations: 1.739 MB / 0.8738 GB, free: 20.7 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006464/1.392, allocations: 92.72 kB / 0.8739 GB, free: 20.7 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008369/1.401, allocations: 4.449 MB / 0.8782 GB, free: 20.7 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00159/1.402, allocations: 0.7143 MB / 0.8789 GB, free: 20.7 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002556/1.405, allocations: 1.207 MB / 0.8801 GB, free: 20.66 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009958/1.415, allocations: 5.004 MB / 0.885 GB, free: 20.54 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.415, allocations: 0 / 0.885 GB, free: 20.54 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.264e-06/1.415, allocations: 0 / 0.885 GB, free: 20.54 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001184/1.415, allocations: 4 kB / 0.885 GB, free: 20.54 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: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.006048/1.421, allocations: 2.66 MB / 0.8876 GB, free: 19.09 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/1.421, allocations: 9.969 kB / 0.8876 GB, free: 19.09 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006168/1.427, allocations: 0.8166 MB / 0.8884 GB, free: 18.94 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005325/1.433, allocations: 1.817 MB / 0.8902 GB, free: 18.43 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004897/1.433, allocations: 185.4 kB / 0.8903 GB, free: 18.42 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005453/1.434, allocations: 165.5 kB / 0.8905 GB, free: 18.41 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004174/1.438, allocations: 1.848 MB / 0.8923 GB, free: 18.22 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/1.438, allocations: 0.9688 kB / 0.8923 GB, free: 18.22 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/1.438, allocations: 63.41 kB / 0.8924 GB, free: 18.22 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-05/1.438, allocations: 64.2 kB / 0.8924 GB, free: 18.21 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00381/1.442, allocations: 1.608 MB / 0.894 GB, free: 18.18 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.01251/1.455, allocations: 8.331 MB / 0.9021 GB, free: 14.16 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002793/1.457, allocations: 1.802 MB / 0.9039 GB, free: 13.37 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/1.459, allocations: 0.6877 MB / 0.9046 GB, free: 13.35 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005206/1.459, allocations: 242.6 kB / 0.9048 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001572/1.461, allocations: 0.6985 MB / 0.9055 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0013/1.462, allocations: 110.4 kB / 0.9056 GB, free: 13.06 MB / 0.67 GB Notification: Performance of pre-optimization done (n=102): time 6.112e-06/1.462, allocations: 0 / 0.9056 GB, free: 13.06 MB / 0.67 GB Notification: Performance of matching and sorting (n=105): time 0.01114/1.473, allocations: 3.74 MB / 0.9092 GB, free: 12.24 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/1.474, allocations: 63.59 kB / 0.9093 GB, free: 12.18 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002681/1.476, allocations: 1.546 MB / 0.9108 GB, free: 11.96 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002229/1.476, allocations: 51.11 kB / 0.9109 GB, free: 11.93 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009382/1.477, allocations: 0.9565 MB / 0.9118 GB, free: 11.59 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004918/1.478, allocations: 366.4 kB / 0.9121 GB, free: 11.36 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/1.478, allocations: 112.9 kB / 0.9123 GB, free: 11.34 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.478, allocations: 357.2 kB / 0.9126 GB, free: 11.04 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/1.48, allocations: 0.5659 MB / 0.9131 GB, free: 11.03 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/1.482, allocations: 0.9088 MB / 0.914 GB, free: 10.64 MB / 0.67 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0167/1.499, allocations: 4.653 MB / 0.9186 GB, free: 10.01 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/1.499, allocations: 0 / 0.9186 GB, free: 10.01 MB / 0.67 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00382/1.502, allocations: 1.729 MB / 0.9203 GB, free: 9.816 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001877/1.503, allocations: 353.4 kB / 0.9206 GB, free: 9.414 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/1.503, allocations: 11.59 kB / 0.9206 GB, free: 9.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00018/1.503, allocations: 40.78 kB / 0.9207 GB, free: 9.402 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/1.504, allocations: 317.8 kB / 0.921 GB, free: 9.395 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009884/1.505, allocations: 1.501 MB / 0.9224 GB, free: 8.066 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00242/1.508, allocations: 186.3 kB / 0.9226 GB, free: 8.039 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/1.508, allocations: 56.27 kB / 0.9227 GB, free: 8.039 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.228e-06/1.508, allocations: 12.84 kB / 0.9227 GB, free: 8.035 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00295/1.511, allocations: 1.523 MB / 0.9242 GB, free: 7.945 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/1.511, allocations: 7.531 kB / 0.9242 GB, free: 7.945 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001158/1.511, allocations: 42.86 kB / 0.9242 GB, free: 7.938 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/1.512, allocations: 310.7 kB / 0.9245 GB, free: 7.934 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00088/1.513, allocations: 1.505 MB / 0.926 GB, free: 6.602 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/1.515, allocations: 183.9 kB / 0.9261 GB, free: 6.574 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/1.515, allocations: 56.28 kB / 0.9262 GB, free: 6.574 MB / 0.67 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.TSet.count,$PRE.TSet.T_start,TSet.count,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 (151): * Single equations (assignments): 147 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001356/1.517, allocations: 0.5788 MB / 0.9268 GB, free: 6.383 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003678/1.517, allocations: 191 kB / 0.9269 GB, free: 6.281 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003144/1.52, allocations: 1.465 MB / 0.9284 GB, free: 6.164 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/1.52, allocations: 11.89 kB / 0.9284 GB, free: 6.164 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.52, allocations: 11.25 kB / 0.9284 GB, free: 6.156 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00232/1.523, allocations: 1.21 MB / 0.9296 GB, free: 6.043 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.006813/1.529, allocations: 3.634 MB / 0.9331 GB, free: 5.391 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/1.529, allocations: 0 / 0.9331 GB, free: 5.391 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/1.531, allocations: 255.6 kB / 0.9334 GB, free: 5.383 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002186/1.531, allocations: 69.25 kB / 0.9334 GB, free: 5.367 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.491e-05/1.531, allocations: 32.66 kB / 0.9335 GB, free: 5.363 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/1.532, allocations: 2.757 MB / 0.9362 GB, free: 2.844 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.532, allocations: 6.469 kB / 0.9362 GB, free: 2.844 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004106/1.537, allocations: 2.239 MB / 0.9383 GB, free: 2.492 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009027/1.537, allocations: 381.3 kB / 0.9387 GB, free: 2.254 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/1.538, allocations: 22.94 kB / 0.9387 GB, free: 2.254 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/1.539, allocations: 185.2 kB / 0.9389 GB, free: 2.188 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/1.539, allocations: 76.5 kB / 0.939 GB, free: 2.156 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.763e-05/1.539, allocations: 36.2 kB / 0.939 GB, free: 2.152 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001374/1.541, allocations: 1.04 MB / 0.94 GB, free: 1.84 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/1.541, allocations: 0 / 0.94 GB, free: 1.84 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002826/1.544, allocations: 0.9337 MB / 0.9409 GB, free: 1.809 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * 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 (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0008591/1.544, allocations: 362.9 kB / 0.9413 GB, free: 1.656 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004402/1.549, allocations: 2.492 MB / 0.9437 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.549, allocations: 0 / 0.9437 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001351/1.55, allocations: 0.8769 MB / 0.9446 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004767/1.555, allocations: 0.9668 MB / 0.9455 GB, free: 368 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008148/1.563, allocations: 4.96 MB / 0.9504 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/1.564, allocations: 1.576 MB / 0.9519 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002432/1.567, allocations: 0.5042 MB / 0.9524 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/1.567, allocations: 147.8 kB / 0.9525 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of SimCode: time 1.533e-06/1.567, allocations: 0 / 0.9525 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of Templates: time 0.06611/1.633, allocations: 35.95 MB / 0.9876 GB, free: 9.371 MB / 0.7169 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)