Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Annex60.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.0009201/0.0009199, allocations: 91.14 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.006562/0.006562, allocations: 171.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.4 MB / 222.5 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4121/0.4121, allocations: 55.02 MB / 325.8 MB, free: 0.5508 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005866/0.0005867, allocations: 20 kB / 397.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4166, allocations: 60.72 MB / 458 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.6435/1.06, allocations: 230.4 MB / 0.6722 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02887/1.089, allocations: 18.74 MB / 0.6905 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00365/1.093, allocations: 69.34 kB / 0.6906 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004482/1.097, allocations: 1.19 MB / 0.6918 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01558/1.113, allocations: 3.241 MB / 0.6949 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01235/1.125, allocations: 3.142 MB / 0.698 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01137/1.137, allocations: 6.672 MB / 0.7045 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002968/1.14, allocations: 1.588 MB / 0.7061 GB, free: 16.72 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006258/1.146, allocations: 2.378 MB / 0.7084 GB, free: 16.68 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003417/1.149, allocations: 1.606 MB / 0.7099 GB, free: 16.54 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002629/1.15, allocations: 81.66 kB / 0.71 GB, free: 16.54 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007349/1.157, allocations: 3.71 MB / 0.7136 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007971/1.158, allocations: 0.6522 MB / 0.7143 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001503/1.159, allocations: 1.093 MB / 0.7153 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006399/1.166, allocations: 4.4 MB / 0.7196 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/1.166, allocations: 0 / 0.7196 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.104e-06/1.166, allocations: 0 / 0.7196 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.484e-05/1.166, allocations: 3.938 kB / 0.7196 GB, free: 13.36 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.004791/1.171, allocations: 2.464 MB / 0.7221 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.171, allocations: 10.94 kB / 0.7221 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004853/1.176, allocations: 0.7852 MB / 0.7228 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003372/1.179, allocations: 1.623 MB / 0.7244 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003686/1.179, allocations: 173.1 kB / 0.7246 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/1.18, allocations: 137.6 kB / 0.7247 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003479/1.183, allocations: 1.741 MB / 0.7264 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/1.183, allocations: 0 / 0.7264 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/1.183, allocations: 57.72 kB / 0.7265 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.036e-05/1.183, allocations: 45.31 kB / 0.7265 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00346/1.187, allocations: 1.55 MB / 0.728 GB, free: 9.762 MB / 0.5137 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.01063/1.197, allocations: 7.415 MB / 0.7353 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002894/1.2, allocations: 1.675 MB / 0.7369 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/1.201, allocations: 0.5242 MB / 0.7374 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/1.203, allocations: 0.7256 MB / 0.7381 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/1.204, allocations: 0.6795 MB / 0.7388 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009839/1.205, allocations: 131.2 kB / 0.7389 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=83): time 3.186e-06/1.205, allocations: 0 / 0.7389 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of matching and sorting (n=83): time 0.004348/1.21, allocations: 1.66 MB / 0.7405 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/1.21, allocations: 272.3 kB / 0.7408 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/1.212, allocations: 1.619 MB / 0.7424 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001681/1.212, allocations: 45.7 kB / 0.7424 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008222/1.213, allocations: 0.9299 MB / 0.7433 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/1.213, allocations: 294.4 kB / 0.7436 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/1.213, allocations: 101.7 kB / 0.7437 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.214, allocations: 345.9 kB / 0.744 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/1.215, allocations: 0.4906 MB / 0.7445 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/1.216, allocations: 0.8646 MB / 0.7454 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002499/1.219, allocations: 1.291 MB / 0.7466 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/1.219, allocations: 8 kB / 0.7466 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003404/1.222, allocations: 1.531 MB / 0.7481 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002176/1.222, allocations: 354.2 kB / 0.7485 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/1.223, allocations: 11.98 kB / 0.7485 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/1.223, allocations: 12 kB / 0.7485 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/1.224, allocations: 283.2 kB / 0.7488 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.191e-05/1.224, allocations: 20.97 kB / 0.7488 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/1.226, allocations: 168.4 kB / 0.7489 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/1.226, allocations: 51.98 kB / 0.749 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/1.226, allocations: 4 kB / 0.749 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002635/1.228, allocations: 1.304 MB / 0.7503 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/1.228, allocations: 23.86 kB / 0.7503 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/1.228, allocations: 12 kB / 0.7503 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/1.229, allocations: 279.4 kB / 0.7506 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/1.229, allocations: 17.06 kB / 0.7506 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/1.231, allocations: 164.8 kB / 0.7507 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.84e-05/1.231, allocations: 47.98 kB / 0.7508 GB, free: 4.059 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (135): * Single equations (assignments): 131 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.001038/1.232, allocations: 0.5432 MB / 0.7513 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/1.233, allocations: 181.7 kB / 0.7515 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002874/1.235, allocations: 1.201 MB / 0.7527 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/1.236, allocations: 12 kB / 0.7527 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.236, allocations: 4.812 kB / 0.7527 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002283/1.238, allocations: 1.276 MB / 0.7539 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006021/1.244, allocations: 2.978 MB / 0.7568 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/1.244, allocations: 0 / 0.7568 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/1.245, allocations: 199.6 kB / 0.757 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002848/1.245, allocations: 49.39 kB / 0.7571 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.932e-05/1.245, allocations: 23.98 kB / 0.7571 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/1.247, allocations: 1.433 MB / 0.7585 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.247, allocations: 2.812 kB / 0.7585 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004187/1.251, allocations: 1.832 MB / 0.7603 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009765/1.252, allocations: 346.8 kB / 0.7606 GB, free: 9.664 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/1.253, allocations: 20 kB / 0.7606 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/1.254, allocations: 159.7 kB / 0.7608 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/1.254, allocations: 64.91 kB / 0.7608 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.938e-05/1.254, allocations: 30.89 kB / 0.7609 GB, free: 9.398 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00164/1.256, allocations: 1.089 MB / 0.7619 GB, free: 8.285 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.5e-07/1.256, allocations: 0 / 0.7619 GB, free: 8.285 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002843/1.259, allocations: 1.005 MB / 0.7629 GB, free: 7.277 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.heaCoo.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.001536/1.26, allocations: 0.5999 MB / 0.7635 GB, free: 6.875 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004068/1.264, allocations: 1.977 MB / 0.7654 GB, free: 4.922 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.264, allocations: 1.562 kB / 0.7654 GB, free: 4.922 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/1.266, allocations: 0.6331 MB / 0.7661 GB, free: 4.293 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003975/1.27, allocations: 0.8153 MB / 0.7668 GB, free: 3.492 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008456/1.278, allocations: 4.551 MB / 0.7713 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/1.279, allocations: 1.495 MB / 0.7728 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002121/1.281, allocations: 453.5 kB / 0.7732 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003804/1.282, allocations: 131.4 kB / 0.7733 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.352e-06/1.282, allocations: 4 kB / 0.7733 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.06265/1.344, allocations: 32.69 MB / 0.8052 GB, free: 12.42 MB / 0.5919 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) Environment - environmentSimulation: