Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009959/0.000996, allocations: 91.92 kB / 16.02 MB, free: 80 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.001204/0.001203, allocations: 180.4 kB / 16.92 MB, free: 6.652 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.412/1.412, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.022/1.022, allocations: 143.2 MB / 435.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003359, allocations: 12 kB / 0.517 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1728, allocations: 83.41 MB / 0.5985 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.5469/0.7198, allocations: 231.2 MB / 0.8243 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0297/0.7495, allocations: 17.63 MB / 0.8415 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004039/0.7536, allocations: 79.5 kB / 0.8416 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.7641, allocations: 4.38 MB / 0.8458 GB, free: 14.59 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.7744, allocations: 3.225 MB / 0.849 GB, free: 11.36 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006882/0.7813, allocations: 2.262 MB / 0.8512 GB, free: 9.109 MB / 0.67 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.4599/1.241, allocations: 9.56 MB / 0.8605 GB, free: 10.64 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003094/1.244, allocations: 1.607 MB / 0.8621 GB, free: 10.52 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005786/1.25, allocations: 2.319 MB / 0.8644 GB, free: 10.51 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003699/1.254, allocations: 1.606 MB / 0.8659 GB, free: 10.5 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005279/1.254, allocations: 83.81 kB / 0.866 GB, free: 10.5 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00745/1.262, allocations: 3.949 MB / 0.8699 GB, free: 10.5 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001411/1.263, allocations: 0.7667 MB / 0.8706 GB, free: 10.5 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002202/1.266, allocations: 1.251 MB / 0.8718 GB, free: 10.47 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005515/1.271, allocations: 3.799 MB / 0.8755 GB, free: 10.32 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.271, allocations: 0 / 0.8755 GB, free: 10.32 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.595e-06/1.271, allocations: 0 / 0.8755 GB, free: 10.32 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.881e-05/1.271, allocations: 0 / 0.8755 GB, free: 10.32 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.005657/1.277, allocations: 2.792 MB / 0.8783 GB, free: 8.77 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/1.277, allocations: 9.438 kB / 0.8783 GB, free: 8.77 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005585/1.283, allocations: 0.9258 MB / 0.8792 GB, free: 8.594 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004821/1.287, allocations: 2.656 MB / 0.8818 GB, free: 8.008 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004522/1.288, allocations: 175.4 kB / 0.8819 GB, free: 7.996 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003264/1.288, allocations: 140.5 kB / 0.8821 GB, free: 7.996 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004055/1.292, allocations: 1.714 MB / 0.8838 GB, free: 7.77 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/1.292, allocations: 4.25 kB / 0.8838 GB, free: 7.77 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/1.292, allocations: 63 kB / 0.8838 GB, free: 7.766 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.502e-05/1.293, allocations: 50.58 kB / 0.8839 GB, free: 7.762 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004618/1.297, allocations: 1.543 MB / 0.8854 GB, free: 7.723 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.01271/1.31, allocations: 8.041 MB / 0.8932 GB, free: 3.699 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003055/1.313, allocations: 1.67 MB / 0.8949 GB, free: 2.98 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/1.314, allocations: 0.5548 MB / 0.8954 GB, free: 2.961 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001444/1.316, allocations: 0.8152 MB / 0.8962 GB, free: 18.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/1.317, allocations: 0.5851 MB / 0.8968 GB, free: 18.14 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001262/1.318, allocations: 131.6 kB / 0.8969 GB, free: 18.09 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=84): time 4.358e-06/1.318, allocations: 0.8438 kB / 0.8969 GB, free: 18.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84): time 0.005083/1.324, allocations: 1.739 MB / 0.8986 GB, free: 17.8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/1.324, allocations: 61.41 kB / 0.8986 GB, free: 17.74 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003848/1.327, allocations: 2.175 MB / 0.9008 GB, free: 17.49 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002496/1.328, allocations: 46.86 kB / 0.9008 GB, free: 17.46 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008698/1.329, allocations: 1.063 MB / 0.9019 GB, free: 17.12 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/1.329, allocations: 308.7 kB / 0.9021 GB, free: 16.93 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/1.329, allocations: 160 kB / 0.9023 GB, free: 16.91 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.329, allocations: 306.1 kB / 0.9026 GB, free: 16.61 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/1.331, allocations: 0.6479 MB / 0.9032 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/1.333, allocations: 1.048 MB / 0.9042 GB, free: 16.17 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003106/1.336, allocations: 1.625 MB / 0.9058 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/1.336, allocations: 2.844 kB / 0.9058 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.004563/1.34, allocations: 1.979 MB / 0.9078 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002455/1.341, allocations: 408.2 kB / 0.9082 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/1.341, allocations: 10.44 kB / 0.9082 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/1.341, allocations: 16 kB / 0.9082 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/1.342, allocations: 341 kB / 0.9085 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.496e-05/1.342, allocations: 26.89 kB / 0.9085 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/1.344, allocations: 206.8 kB / 0.9087 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/1.344, allocations: 60.89 kB / 0.9088 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/1.344, allocations: 2.656 kB / 0.9088 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003475/1.348, allocations: 1.772 MB / 0.9105 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/1.348, allocations: 9.938 kB / 0.9105 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/1.348, allocations: 16.31 kB / 0.9105 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/1.349, allocations: 346.8 kB / 0.9109 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.718e-05/1.349, allocations: 23.5 kB / 0.9109 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/1.352, allocations: 193.3 kB / 0.9111 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/1.352, allocations: 61.42 kB / 0.9111 GB, free: 14.93 MB / 0.6856 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.001387/1.353, allocations: 0.6562 MB / 0.9118 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004854/1.354, allocations: 219.7 kB / 0.912 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/1.356, allocations: 1.255 MB / 0.9132 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/1.356, allocations: 9.125 kB / 0.9132 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/1.356, allocations: 3.938 kB / 0.9132 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002375/1.359, allocations: 1.312 MB / 0.9145 GB, free: 14 MB / 0.6856 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.006947/1.366, allocations: 3.24 MB / 0.9177 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.366, allocations: 4.156 kB / 0.9177 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009722/1.367, allocations: 208.2 kB / 0.9179 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002175/1.367, allocations: 46.81 kB / 0.9179 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.236e-05/1.367, allocations: 23 kB / 0.9179 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/1.369, allocations: 1.415 MB / 0.9193 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.369, allocations: 3.984 kB / 0.9193 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004063/1.373, allocations: 1.899 MB / 0.9212 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/1.374, allocations: 401.5 kB / 0.9216 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/1.374, allocations: 30 kB / 0.9216 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/1.375, allocations: 157.3 kB / 0.9217 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/1.375, allocations: 59.69 kB / 0.9218 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.929e-05/1.376, allocations: 31.16 kB / 0.9218 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002051/1.378, allocations: 1.461 MB / 0.9233 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.71e-07/1.378, allocations: 0 / 0.9233 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003548/1.381, allocations: 1.131 MB / 0.9244 GB, free: 11.25 MB / 0.6856 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.002026/1.383, allocations: 0.735 MB / 0.9251 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004811/1.388, allocations: 2.422 MB / 0.9274 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.388, allocations: 0 / 0.9274 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001407/1.389, allocations: 0.6501 MB / 0.9281 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00518/1.395, allocations: 0.9694 MB / 0.929 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00995/1.405, allocations: 5.363 MB / 0.9343 GB, free: 8.082 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/1.406, allocations: 1.665 MB / 0.9359 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008074/1.407, allocations: 172.4 kB / 0.9361 GB, free: 7.25 MB / 0.6856 GB Notification: Performance of SimCode: time 1.052e-06/1.407, allocations: 0 / 0.9361 GB, free: 7.25 MB / 0.6856 GB Notification: Performance of Templates: time 0.06238/1.469, allocations: 40.97 MB / 0.9761 GB, free: 4.348 MB / 0.7169 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)