Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001174/0.001174, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001187/0.001187, allocations: 191.5 kB / 16.25 MB, free: 6.633 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.351/1.351, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.754/2.754, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 66.38 kB / 0.9115 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3372, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.8112/1.148, allocations: 233.5 MB / 1.296 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02405/1.173, allocations: 17.43 MB / 1.313 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003871/1.176, allocations: 83.97 kB / 1.313 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009168/1.186, allocations: 4.546 MB / 1.317 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009517/1.195, allocations: 3.215 MB / 1.32 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006737/1.202, allocations: 2.303 MB / 1.323 GB, free: 4.848 MB / 0.9981 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.01194/1.214, allocations: 7.948 MB / 1.33 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003542/1.217, allocations: 1.911 MB / 1.332 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006462/1.224, allocations: 2.663 MB / 1.335 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003656/1.228, allocations: 1.715 MB / 1.337 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007608/1.228, allocations: 204.4 kB / 1.337 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007344/1.236, allocations: 3.715 MB / 1.34 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001616/1.237, allocations: 0.8941 MB / 1.341 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003068/1.24, allocations: 1.379 MB / 1.343 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00908/1.249, allocations: 5.032 MB / 1.348 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.25, allocations: 2.406 kB / 1.348 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.044e-06/1.25, allocations: 0 / 1.348 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001594/1.25, allocations: 0 / 1.348 GB, free: 1.543 MB / 0.9981 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.007183/1.257, allocations: 3.236 MB / 1.351 GB, free: 15.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/1.257, allocations: 7.469 kB / 1.351 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005495/1.262, allocations: 0.8884 MB / 1.352 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004768/1.267, allocations: 2.673 MB / 1.354 GB, free: 13.99 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003795/1.268, allocations: 167 kB / 1.354 GB, free: 13.94 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/1.268, allocations: 148.3 kB / 1.354 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003196/1.271, allocations: 1.674 MB / 1.356 GB, free: 13.17 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/1.271, allocations: 7.844 kB / 1.356 GB, free: 13.17 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/1.271, allocations: 58.14 kB / 1.356 GB, free: 13.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.178e-05/1.271, allocations: 54.48 kB / 1.356 GB, free: 13.12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003313/1.275, allocations: 1.482 MB / 1.358 GB, free: 12.64 MB / 1.014 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.01186/1.287, allocations: 7.944 MB / 1.365 GB, free: 6.562 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002726/1.289, allocations: 1.603 MB / 1.367 GB, free: 5.367 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/1.29, allocations: 0.5314 MB / 1.367 GB, free: 5.109 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/1.292, allocations: 0.7746 MB / 1.368 GB, free: 4.289 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/1.293, allocations: 0.5589 MB / 1.369 GB, free: 3.961 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001053/1.294, allocations: 105.9 kB / 1.369 GB, free: 3.891 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 3.877e-06/1.294, allocations: 3.938 kB / 1.369 GB, free: 3.887 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.004501/1.299, allocations: 1.662 MB / 1.371 GB, free: 3.02 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/1.299, allocations: 70.36 kB / 1.371 GB, free: 2.953 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004087/1.303, allocations: 2.14 MB / 1.373 GB, free: 1.801 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002122/1.303, allocations: 47.33 kB / 1.373 GB, free: 1.754 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001179/1.304, allocations: 1.054 MB / 1.374 GB, free: 0.832 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004316/1.305, allocations: 296.2 kB / 1.374 GB, free: 0.582 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005555/1.305, allocations: 328.5 kB / 1.374 GB, free: 404 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.305, allocations: 305.1 kB / 1.375 GB, free: 96 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/1.307, allocations: 0.6402 MB / 1.375 GB, free: 15.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/1.309, allocations: 1.03 MB / 1.376 GB, free: 14.99 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003052/1.312, allocations: 1.582 MB / 1.378 GB, free: 13.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/1.312, allocations: 3.188 kB / 1.378 GB, free: 13.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.004037/1.316, allocations: 1.927 MB / 1.38 GB, free: 13.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.47e-05/1.316, allocations: 39.2 kB / 1.38 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/1.316, allocations: 10 kB / 1.38 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.528e-05/1.316, allocations: 16.16 kB / 1.38 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/1.317, allocations: 339.3 kB / 1.38 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.831e-05/1.318, allocations: 22.52 kB / 1.38 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/1.32, allocations: 181.8 kB / 1.38 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/1.32, allocations: 60.95 kB / 1.38 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0022/1.322, allocations: 1.123 MB / 1.381 GB, free: 12.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001768/1.324, allocations: 1.029 MB / 1.382 GB, free: 11.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00272/1.327, allocations: 1.584 MB / 1.384 GB, free: 10.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.232e-06/1.327, allocations: 2.281 kB / 1.384 GB, free: 10.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=201) (initialization_lambda0): time 0.004225/1.331, allocations: 1.938 MB / 1.386 GB, free: 9.531 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/1.331, allocations: 34.27 kB / 1.386 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/1.331, allocations: 9.5 kB / 1.386 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/1.331, allocations: 17.34 kB / 1.386 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/1.332, allocations: 335 kB / 1.386 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.886e-05/1.332, allocations: 25.92 kB / 1.386 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002347/1.335, allocations: 193.6 kB / 1.386 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/1.335, allocations: 60.61 kB / 1.387 GB, free: 9.328 MB / 1.029 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.0004477/1.335, allocations: 260.3 kB / 1.387 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005909/1.336, allocations: 214.8 kB / 1.387 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003324/1.339, allocations: 1.223 MB / 1.388 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/1.339, allocations: 8.469 kB / 1.388 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.339, allocations: 4 kB / 1.388 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002833/1.342, allocations: 1.26 MB / 1.389 GB, free: 7.383 MB / 1.029 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.008068/1.35, allocations: 3.122 MB / 1.392 GB, free: 4.188 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.35, allocations: 192 / 1.392 GB, free: 4.188 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/1.351, allocations: 199.6 kB / 1.393 GB, free: 4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002477/1.352, allocations: 48.77 kB / 1.393 GB, free: 3.949 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.112e-05/1.352, allocations: 23.98 kB / 1.393 GB, free: 3.926 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001704/1.353, allocations: 1.535 MB / 1.394 GB, free: 2.262 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.353, allocations: 6.531 kB / 1.394 GB, free: 2.258 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004454/1.358, allocations: 1.818 MB / 1.396 GB, free: 412 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/1.359, allocations: 390.2 kB / 1.396 GB, free: 0 / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005524/1.36, allocations: 17.83 kB / 1.396 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001864/1.362, allocations: 147.7 kB / 1.397 GB, free: 15.84 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/1.362, allocations: 63.39 kB / 1.397 GB, free: 15.79 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.59e-05/1.362, allocations: 35.97 kB / 1.397 GB, free: 15.75 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003225/1.365, allocations: 1.421 MB / 1.398 GB, free: 14.32 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.81e-07/1.365, allocations: 0 / 1.398 GB, free: 14.32 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00448/1.37, allocations: 1.13 MB / 1.399 GB, free: 13.18 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 82 * 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.002183/1.372, allocations: 0.7374 MB / 1.4 GB, free: 12.61 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00597/1.378, allocations: 2.476 MB / 1.402 GB, free: 10.2 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.378, allocations: 0.625 kB / 1.402 GB, free: 10.2 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001442/1.379, allocations: 0.6279 MB / 1.403 GB, free: 9.574 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004606/1.384, allocations: 1.025 MB / 1.404 GB, free: 8.582 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/1.395, allocations: 5.165 MB / 1.409 GB, free: 3.387 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002498/1.398, allocations: 1.664 MB / 1.411 GB, free: 1.688 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.003316/1.401, allocations: 0.5674 MB / 1.411 GB, free: 1.117 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006881/1.402, allocations: 167.4 kB / 1.411 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of SimCode: time 1.603e-06/1.402, allocations: 0 / 1.411 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of Templates: time 0.07746/1.479, allocations: 39.18 MB / 1.45 GB, free: 10.4 MB / 1.092 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)