Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001004/0.001004, allocations: 93.73 kB / 16.02 MB, free: 84 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.001352/0.001352, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.305/1.305, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6781/0.6781, allocations: 115.5 MB / 407.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003083, allocations: 12 kB / 495.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1463, allocations: 77.53 MB / 0.56 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.4817/0.628, allocations: 230.9 MB / 0.7855 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02711/0.6552, allocations: 17.54 MB / 0.8026 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003703/0.6589, allocations: 79.5 kB / 0.8027 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.009504/0.6685, allocations: 4.364 MB / 0.807 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008786/0.6773, allocations: 3.209 MB / 0.8101 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005901/0.6832, allocations: 2.268 MB / 0.8123 GB, free: 4.148 MB / 0.6231 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.3240000000000001}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.0124/0.6956, allocations: 9.528 MB / 0.8216 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003255/0.6989, allocations: 1.605 MB / 0.8232 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005387/0.7043, allocations: 2.318 MB / 0.8254 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003394/0.7077, allocations: 1.589 MB / 0.827 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005466/0.7083, allocations: 84 kB / 0.8271 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007538/0.7158, allocations: 3.944 MB / 0.8309 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001147/0.717, allocations: 0.7668 MB / 0.8317 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.3442/1.061, allocations: 1.24 MB / 0.8329 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01081/1.072, allocations: 4.854 MB / 0.8376 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.072, allocations: 2.625 kB / 0.8376 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.976e-06/1.072, allocations: 0.6562 kB / 0.8376 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001083/1.072, allocations: 0.7188 kB / 0.8376 GB, free: 15.26 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.006991/1.079, allocations: 2.785 MB / 0.8403 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.079, allocations: 11.41 kB / 0.8404 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0061/1.085, allocations: 0.9218 MB / 0.8413 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00553/1.091, allocations: 2.677 MB / 0.8439 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004522/1.091, allocations: 173.5 kB / 0.844 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003258/1.092, allocations: 145 kB / 0.8442 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00375/1.096, allocations: 1.703 MB / 0.8458 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/1.096, allocations: 1.406 kB / 0.8458 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/1.096, allocations: 56.84 kB / 0.8459 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.64e-05/1.096, allocations: 51.02 kB / 0.8459 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003814/1.1, allocations: 1.53 MB / 0.8474 GB, free: 12.83 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 preOpt removeSimpleEquations (simulation): time 0.01283/1.112, allocations: 7.976 MB / 0.8552 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003104/1.116, allocations: 1.639 MB / 0.8568 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/1.117, allocations: 0.5537 MB / 0.8574 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/1.118, allocations: 0.8183 MB / 0.8582 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001347/1.12, allocations: 0.5737 MB / 0.8587 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00147/1.121, allocations: 129.8 kB / 0.8588 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=84): time 3.337e-06/1.121, allocations: 4 kB / 0.8589 GB, free: 7.223 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84): time 0.004692/1.126, allocations: 1.705 MB / 0.8605 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/1.126, allocations: 60.75 kB / 0.8606 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0032/1.129, allocations: 2.144 MB / 0.8627 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001758/1.129, allocations: 42.52 kB / 0.8627 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008811/1.13, allocations: 1.058 MB / 0.8637 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/1.13, allocations: 298.8 kB / 0.864 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/1.131, allocations: 161.1 kB / 0.8642 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.276e-05/1.131, allocations: 301.1 kB / 0.8645 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/1.132, allocations: 0.6472 MB / 0.8651 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/1.133, allocations: 1.034 MB / 0.8661 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002456/1.136, allocations: 1.609 MB / 0.8677 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/1.136, allocations: 2.625 kB / 0.8677 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.004098/1.14, allocations: 1.965 MB / 0.8696 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.00025/1.14, allocations: 399.9 kB / 0.87 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/1.14, allocations: 11.5 kB / 0.87 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.408e-05/1.14, allocations: 16.05 kB / 0.87 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/1.142, allocations: 338.3 kB / 0.8703 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.774e-05/1.142, allocations: 21.19 kB / 0.8704 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/1.144, allocations: 194.2 kB / 0.8705 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/1.144, allocations: 57.47 kB / 0.8706 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/1.144, allocations: 5.844 kB / 0.8706 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003042/1.147, allocations: 1.75 MB / 0.8723 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/1.147, allocations: 13.56 kB / 0.8723 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/1.147, allocations: 22 kB / 0.8723 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/1.148, allocations: 344.3 kB / 0.8727 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/1.148, allocations: 15.44 kB / 0.8727 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/1.151, allocations: 198 kB / 0.8729 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/1.151, allocations: 61.5 kB / 0.8729 GB, free: 4.074 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (167): * Single equations (assignments): 164 * Array equations: 1 * 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.001435/1.152, allocations: 0.6599 MB / 0.8736 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003977/1.153, allocations: 211.2 kB / 0.8738 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/1.156, allocations: 1.238 MB / 0.875 GB, free: 3.641 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/1.156, allocations: 9.406 kB / 0.875 GB, free: 3.641 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.156, allocations: 0 / 0.875 GB, free: 3.641 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00223/1.158, allocations: 1.287 MB / 0.8763 GB, free: 3.156 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.006445/1.164, allocations: 3.18 MB / 0.8794 GB, free: 18.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.164, allocations: 0 / 0.8794 GB, free: 18.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009618/1.165, allocations: 209 kB / 0.8796 GB, free: 18.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002041/1.165, allocations: 45.61 kB / 0.8796 GB, free: 18.57 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.808e-05/1.166, allocations: 27.62 kB / 0.8796 GB, free: 18.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/1.167, allocations: 1.426 MB / 0.881 GB, free: 17.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.167, allocations: 3.125 kB / 0.881 GB, free: 17.32 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003836/1.171, allocations: 1.855 MB / 0.8828 GB, free: 16.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/1.172, allocations: 396.5 kB / 0.8832 GB, free: 16.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002757/1.172, allocations: 20.31 kB / 0.8832 GB, free: 16.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/1.173, allocations: 150.7 kB / 0.8834 GB, free: 16.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/1.174, allocations: 70.66 kB / 0.8834 GB, free: 16.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.896e-05/1.174, allocations: 35.28 kB / 0.8835 GB, free: 16.72 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002202/1.176, allocations: 1.424 MB / 0.8849 GB, free: 16.57 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.2e-07/1.176, allocations: 0 / 0.8849 GB, free: 16.57 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003731/1.18, allocations: 1.12 MB / 0.886 GB, free: 16.43 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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 (84): * Single equations (assignments): 81 * 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.001907/1.182, allocations: 0.739 MB / 0.8867 GB, free: 16.24 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004303/1.186, allocations: 2.379 MB / 0.889 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.186, allocations: 0 / 0.889 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/1.187, allocations: 0.6447 MB / 0.8896 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004902/1.192, allocations: 0.9609 MB / 0.8906 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007999/1.2, allocations: 5.179 MB / 0.8956 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/1.201, allocations: 1.659 MB / 0.8973 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0024/1.204, allocations: 0.5605 MB / 0.8978 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004736/1.204, allocations: 162.9 kB / 0.898 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of SimCode: time 6.42e-07/1.204, allocations: 1.859 kB / 0.898 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.06367/1.268, allocations: 37.87 MB / 0.9349 GB, free: 3.152 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)