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.0008507/0.0008506, allocations: 87.2 kB / 16.66 MB, free: 5.742 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.0009219/0.0009219, allocations: 181.5 kB / 17.58 MB, free: 5.477 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.348/1.348, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7199/0.7199, allocations: 115.5 MB / 408.2 MB, free: 7.023 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 8 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4312, allocations: 77.51 MB / 0.5606 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.6552/1.086, allocations: 231 MB / 0.7861 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02575/1.112, allocations: 17.56 MB / 0.8033 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004297/1.117, allocations: 80.44 kB / 0.8033 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009317/1.126, allocations: 4.363 MB / 0.8076 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0103/1.136, allocations: 3.214 MB / 0.8107 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006841/1.143, allocations: 2.257 MB / 0.8129 GB, free: 1.18 MB / 0.5762 GB [/var/lib/jenkins1/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.01319/1.156, allocations: 9.509 MB / 0.8222 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003258/1.16, allocations: 1.616 MB / 0.8238 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006244/1.166, allocations: 2.321 MB / 0.8261 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004079/1.17, allocations: 1.584 MB / 0.8276 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004816/1.17, allocations: 87.03 kB / 0.8277 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008677/1.179, allocations: 3.953 MB / 0.8316 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001252/1.18, allocations: 0.7635 MB / 0.8323 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002178/1.183, allocations: 1.243 MB / 0.8335 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005681/1.188, allocations: 3.594 MB / 0.837 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.188, allocations: 2.938 kB / 0.837 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.066e-06/1.188, allocations: 0 / 0.837 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.302e-05/1.188, allocations: 0 / 0.837 GB, free: 12.25 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.005488/1.194, allocations: 2.776 MB / 0.8397 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/1.194, allocations: 9.75 kB / 0.8398 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005647/1.2, allocations: 0.9211 MB / 0.8407 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004808/1.204, allocations: 2.677 MB / 0.8433 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004026/1.205, allocations: 181.5 kB / 0.8434 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002784/1.205, allocations: 149.5 kB / 0.8436 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003312/1.209, allocations: 1.694 MB / 0.8452 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/1.209, allocations: 2.906 kB / 0.8452 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/1.209, allocations: 56.47 kB / 0.8453 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.526e-05/1.209, allocations: 51.36 kB / 0.8453 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003608/1.212, allocations: 1.526 MB / 0.8468 GB, free: 7.098 MB / 0.5919 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.0127/1.225, allocations: 7.978 MB / 0.8546 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002903/1.228, allocations: 1.654 MB / 0.8562 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/1.229, allocations: 0.5525 MB / 0.8568 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/1.231, allocations: 0.8094 MB / 0.8576 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001316/1.232, allocations: 0.5779 MB / 0.8581 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001108/1.233, allocations: 127.1 kB / 0.8583 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=84): time 2.755e-06/1.233, allocations: 0 / 0.8583 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84): time 0.004449/1.238, allocations: 1.709 MB / 0.8599 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/1.238, allocations: 60.41 kB / 0.86 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/1.241, allocations: 2.14 MB / 0.8621 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/1.241, allocations: 45.7 kB / 0.8621 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/1.242, allocations: 1.053 MB / 0.8631 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/1.242, allocations: 310.3 kB / 0.8634 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/1.242, allocations: 157.6 kB / 0.8636 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.502e-05/1.243, allocations: 305.1 kB / 0.8639 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/1.244, allocations: 0.6364 MB / 0.8645 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/1.246, allocations: 1.039 MB / 0.8655 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002764/1.248, allocations: 1.61 MB / 0.8671 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/1.248, allocations: 4 kB / 0.8671 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.003988/1.252, allocations: 1.959 MB / 0.869 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002884/1.253, allocations: 409.5 kB / 0.8694 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/1.253, allocations: 12 kB / 0.8694 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/1.253, allocations: 16 kB / 0.8694 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/1.254, allocations: 340.2 kB / 0.8697 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-05/1.254, allocations: 22.52 kB / 0.8698 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/1.257, allocations: 204.3 kB / 0.87 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/1.257, allocations: 56.64 kB / 0.87 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/1.257, allocations: 4.094 kB / 0.87 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003475/1.26, allocations: 1.759 MB / 0.8717 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/1.26, allocations: 8 kB / 0.8717 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/1.26, allocations: 16 kB / 0.8718 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/1.262, allocations: 342.1 kB / 0.8721 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-05/1.262, allocations: 25.09 kB / 0.8721 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/1.264, allocations: 200.6 kB / 0.8723 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/1.264, allocations: 55.98 kB / 0.8724 GB, free: 11.92 MB / 0.6231 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.001364/1.265, allocations: 0.6475 MB / 0.873 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004734/1.266, allocations: 217.1 kB / 0.8732 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003221/1.269, allocations: 1.238 MB / 0.8744 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/1.269, allocations: 8 kB / 0.8744 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/1.269, allocations: 0 / 0.8744 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002678/1.272, allocations: 1.295 MB / 0.8757 GB, free: 8.434 MB / 0.6231 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.006958/1.279, allocations: 3.171 MB / 0.8788 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/1.279, allocations: 0 / 0.8788 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/1.28, allocations: 207.6 kB / 0.879 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002333/1.28, allocations: 44.77 kB / 0.879 GB, free: 4.945 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-05/1.28, allocations: 23.98 kB / 0.879 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/1.282, allocations: 1.421 MB / 0.8804 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.282, allocations: 2.438 kB / 0.8804 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004145/1.286, allocations: 1.856 MB / 0.8822 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/1.287, allocations: 394.4 kB / 0.8826 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/1.287, allocations: 19.94 kB / 0.8826 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/1.288, allocations: 160.4 kB / 0.8828 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/1.289, allocations: 75.02 kB / 0.8829 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.947e-05/1.289, allocations: 31.98 kB / 0.8829 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002181/1.291, allocations: 1.424 MB / 0.8843 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.11e-07/1.291, allocations: 4 kB / 0.8843 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003346/1.294, allocations: 1.119 MB / 0.8854 GB, free: 14.24 MB / 0.6387 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.001948/1.296, allocations: 0.7351 MB / 0.8861 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004749/1.301, allocations: 2.38 MB / 0.8884 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.301, allocations: 0.625 kB / 0.8884 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00139/1.302, allocations: 0.6373 MB / 0.889 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005136/1.308, allocations: 0.9598 MB / 0.89 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009763/1.317, allocations: 5.306 MB / 0.8952 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/1.319, allocations: 1.66 MB / 0.8968 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008385/1.32, allocations: 171.4 kB / 0.8969 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of SimCode: time 1.032e-06/1.32, allocations: 0 / 0.8969 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of Templates: time 0.06626/1.386, allocations: 40.47 MB / 0.9365 GB, free: 10.35 MB / 0.6856 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)