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.0008204/0.0008204, allocations: 93.5 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.0008748/0.0008749, allocations: 177.2 kB / 16.92 MB, free: 6.676 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.33/1.33, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7186/0.7186, allocations: 123 MB / 415.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003197, allocations: 12 kB / 0.4933 GB, free: 14.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3952, allocations: 79.29 MB / 0.5707 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.2567/0.652, allocations: 231 MB / 0.7963 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03088/0.6829, allocations: 17.55 MB / 0.8134 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004181/0.6871, allocations: 83.5 kB / 0.8135 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.3757/1.063, allocations: 4.348 MB / 0.8177 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009792/1.073, allocations: 3.215 MB / 0.8209 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006532/1.079, allocations: 2.266 MB / 0.8231 GB, free: 4.352 MB / 0.6387 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.01492/1.094, allocations: 9.517 MB / 0.8324 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003606/1.098, allocations: 1.609 MB / 0.834 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006453/1.104, allocations: 2.318 MB / 0.8362 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004636/1.109, allocations: 1.591 MB / 0.8378 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008267/1.11, allocations: 83.44 kB / 0.8379 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008708/1.118, allocations: 3.944 MB / 0.8417 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001765/1.12, allocations: 0.758 MB / 0.8424 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002888/1.123, allocations: 1.25 MB / 0.8437 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01031/1.134, allocations: 4.862 MB / 0.8484 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.134, allocations: 0 / 0.8484 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.716e-06/1.134, allocations: 2.516 kB / 0.8484 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001654/1.134, allocations: 4 kB / 0.8484 GB, free: 3.727 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.006617/1.14, allocations: 2.777 MB / 0.8511 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/1.14, allocations: 8.531 kB / 0.8511 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005999/1.146, allocations: 0.9213 MB / 0.852 GB, free: 2 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004816/1.151, allocations: 2.683 MB / 0.8547 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004447/1.152, allocations: 174.8 kB / 0.8548 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004426/1.152, allocations: 147.3 kB / 0.855 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003556/1.156, allocations: 1.699 MB / 0.8566 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/1.156, allocations: 3.375 kB / 0.8566 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/1.156, allocations: 51.94 kB / 0.8567 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-05/1.156, allocations: 58.81 kB / 0.8567 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003549/1.16, allocations: 1.525 MB / 0.8582 GB, free: 1.129 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.01212/1.172, allocations: 7.976 MB / 0.866 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/1.175, allocations: 1.648 MB / 0.8676 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/1.176, allocations: 0.5496 MB / 0.8682 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/1.177, allocations: 0.8094 MB / 0.8689 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001397/1.179, allocations: 0.5757 MB / 0.8695 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0012/1.18, allocations: 138.6 kB / 0.8696 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=84): time 4.048e-06/1.18, allocations: 0 / 0.8696 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.00448/1.185, allocations: 1.713 MB / 0.8713 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/1.185, allocations: 59.88 kB / 0.8714 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002988/1.188, allocations: 2.138 MB / 0.8735 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001774/1.188, allocations: 47.81 kB / 0.8735 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008795/1.189, allocations: 1.057 MB / 0.8745 GB, free: 10 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000355/1.189, allocations: 300.6 kB / 0.8748 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/1.189, allocations: 162.2 kB / 0.875 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.189, allocations: 301.1 kB / 0.8753 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/1.191, allocations: 0.6349 MB / 0.8759 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/1.193, allocations: 1.038 MB / 0.8769 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002811/1.195, allocations: 1.614 MB / 0.8785 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/1.195, allocations: 3.219 kB / 0.8785 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.004016/1.199, allocations: 1.961 MB / 0.8804 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002913/1.2, allocations: 406 kB / 0.8808 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/1.2, allocations: 10.19 kB / 0.8808 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.328e-05/1.2, allocations: 15.78 kB / 0.8808 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/1.201, allocations: 338.3 kB / 0.8811 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.637e-05/1.201, allocations: 26.52 kB / 0.8812 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/1.203, allocations: 200 kB / 0.8813 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/1.204, allocations: 58.7 kB / 0.8814 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/1.204, allocations: 3.438 kB / 0.8814 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003263/1.207, allocations: 1.75 MB / 0.8831 GB, free: 7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/1.207, allocations: 10.88 kB / 0.8831 GB, free: 7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/1.207, allocations: 18.53 kB / 0.8831 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/1.208, allocations: 342.6 kB / 0.8835 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.51e-05/1.208, allocations: 26.3 kB / 0.8835 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/1.211, allocations: 187.6 kB / 0.8837 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/1.211, allocations: 60.73 kB / 0.8837 GB, free: 6.883 MB / 0.6544 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.001578/1.213, allocations: 0.6448 MB / 0.8844 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006096/1.213, allocations: 217.2 kB / 0.8846 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003082/1.216, allocations: 1.241 MB / 0.8858 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/1.216, allocations: 12.47 kB / 0.8858 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/1.216, allocations: 4 kB / 0.8858 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002417/1.219, allocations: 1.284 MB / 0.887 GB, free: 5.59 MB / 0.6544 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.006756/1.226, allocations: 3.178 MB / 0.8902 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.226, allocations: 6.031 kB / 0.8902 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/1.227, allocations: 206.5 kB / 0.8904 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002397/1.227, allocations: 42.52 kB / 0.8904 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-05/1.227, allocations: 27.92 kB / 0.8904 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/1.228, allocations: 1.42 MB / 0.8918 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.228, allocations: 0 / 0.8918 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004376/1.233, allocations: 1.859 MB / 0.8936 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/1.234, allocations: 392.6 kB / 0.894 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003575/1.234, allocations: 21.62 kB / 0.894 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/1.236, allocations: 161.6 kB / 0.8942 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/1.236, allocations: 60.8 kB / 0.8942 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.006e-05/1.236, allocations: 29.64 kB / 0.8943 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002283/1.238, allocations: 1.426 MB / 0.8957 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.873e-06/1.239, allocations: 0 / 0.8957 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00396/1.242, allocations: 1.133 MB / 0.8968 GB, free: 1.609 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.001801/1.244, allocations: 0.7331 MB / 0.8975 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004765/1.249, allocations: 2.391 MB / 0.8998 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.249, allocations: 4.125 kB / 0.8998 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/1.251, allocations: 0.6385 MB / 0.9004 GB, free: 292 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005191/1.256, allocations: 0.9549 MB / 0.9014 GB, free: 15.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009004/1.265, allocations: 5.182 MB / 0.9064 GB, free: 10.69 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/1.266, allocations: 1.655 MB / 0.908 GB, free: 9.102 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002433/1.269, allocations: 0.5636 MB / 0.9086 GB, free: 8.535 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005163/1.269, allocations: 162.9 kB / 0.9088 GB, free: 8.383 MB / 0.67 GB Notification: Performance of SimCode: time 6.51e-07/1.269, allocations: 8 kB / 0.9088 GB, free: 8.375 MB / 0.67 GB Notification: Performance of Templates: time 0.06401/1.333, allocations: 37.86 MB / 0.9457 GB, free: 3.199 MB / 0.7012 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)