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.001275/0.001275, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001527/0.001527, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.388/1.388, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.788/2.788, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 64.06 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3278, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.8981/1.226, allocations: 234.2 MB / 1.296 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03094/1.257, allocations: 17.77 MB / 1.314 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004138/1.261, allocations: 81.56 kB / 1.314 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009966/1.271, allocations: 4.376 MB / 1.318 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01029/1.281, allocations: 3.21 MB / 1.321 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007559/1.289, allocations: 2.257 MB / 1.323 GB, free: 4.508 MB / 0.9981 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.0144/1.303, allocations: 9.531 MB / 1.333 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003765/1.307, allocations: 1.652 MB / 1.334 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006753/1.314, allocations: 2.374 MB / 1.337 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004469/1.319, allocations: 1.667 MB / 1.338 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001036/1.32, allocations: 113.5 kB / 1.338 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009398/1.329, allocations: 3.974 MB / 1.342 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001635/1.331, allocations: 0.8048 MB / 1.343 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002102/1.333, allocations: 1.271 MB / 1.344 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008591/1.341, allocations: 4.942 MB / 1.349 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/1.341, allocations: 0 / 1.349 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.273e-06/1.341, allocations: 0 / 1.349 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.147e-05/1.341, allocations: 3.375 kB / 1.349 GB, free: 1.652 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.007074/1.349, allocations: 3.233 MB / 1.352 GB, free: 15.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/1.349, allocations: 14.38 kB / 1.352 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00582/1.354, allocations: 0.8864 MB / 1.353 GB, free: 15.4 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005499/1.36, allocations: 2.678 MB / 1.356 GB, free: 13.8 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003943/1.36, allocations: 168.3 kB / 1.356 GB, free: 13.73 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/1.361, allocations: 146.2 kB / 1.356 GB, free: 13.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003646/1.364, allocations: 1.681 MB / 1.358 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/1.364, allocations: 0 / 1.358 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/1.365, allocations: 52.81 kB / 1.358 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.113e-05/1.365, allocations: 56.22 kB / 1.358 GB, free: 12.6 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003575/1.368, allocations: 1.488 MB / 1.359 GB, free: 11.88 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.01286/1.381, allocations: 7.935 MB / 1.367 GB, free: 5.223 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/1.384, allocations: 1.602 MB / 1.368 GB, free: 4.023 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/1.385, allocations: 0.5328 MB / 1.369 GB, free: 3.766 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/1.387, allocations: 0.7746 MB / 1.37 GB, free: 2.949 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001425/1.388, allocations: 0.5603 MB / 1.37 GB, free: 2.617 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001412/1.39, allocations: 134 kB / 1.37 GB, free: 2.535 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 1.304e-05/1.39, allocations: 0 / 1.37 GB, free: 2.535 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.004732/1.394, allocations: 1.644 MB / 1.372 GB, free: 1.676 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/1.394, allocations: 75.08 kB / 1.372 GB, free: 1.602 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003238/1.398, allocations: 2.137 MB / 1.374 GB, free: 460 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/1.398, allocations: 48.83 kB / 1.374 GB, free: 412 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001432/1.399, allocations: 1.099 MB / 1.375 GB, free: 15.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000286/1.399, allocations: 296.1 kB / 1.376 GB, free: 15.4 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005086/1.4, allocations: 325 kB / 1.376 GB, free: 15.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001039/1.4, allocations: 305.1 kB / 1.376 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/1.401, allocations: 0.6284 MB / 1.377 GB, free: 14.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/1.403, allocations: 1.024 MB / 1.378 GB, free: 13.81 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002776/1.406, allocations: 1.574 MB / 1.379 GB, free: 12.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/1.406, allocations: 2.719 kB / 1.379 GB, free: 12.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.003963/1.41, allocations: 1.93 MB / 1.381 GB, free: 11.9 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/1.41, allocations: 36.86 kB / 1.381 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/1.41, allocations: 12.53 kB / 1.381 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/1.41, allocations: 20.84 kB / 1.381 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/1.411, allocations: 333.8 kB / 1.382 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.388e-05/1.411, allocations: 26.89 kB / 1.382 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/1.414, allocations: 188.9 kB / 1.382 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/1.414, allocations: 61.27 kB / 1.382 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002219/1.416, allocations: 1.121 MB / 1.383 GB, free: 11.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001574/1.417, allocations: 1.016 MB / 1.384 GB, free: 10.28 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00265/1.42, allocations: 1.572 MB / 1.385 GB, free: 9.273 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.092e-06/1.42, allocations: 2.438 kB / 1.385 GB, free: 9.273 MB / 1.029 GB Notification: Performance of matching and sorting (n=201) (initialization_lambda0): time 0.003713/1.424, allocations: 1.927 MB / 1.387 GB, free: 8.367 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/1.424, allocations: 39.39 kB / 1.387 GB, free: 8.332 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.424, allocations: 10.84 kB / 1.387 GB, free: 8.332 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/1.424, allocations: 15.47 kB / 1.387 GB, free: 8.332 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/1.425, allocations: 329.9 kB / 1.388 GB, free: 8.266 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.326e-05/1.425, allocations: 26.55 kB / 1.388 GB, free: 8.242 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/1.427, allocations: 188.7 kB / 1.388 GB, free: 8.059 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/1.428, allocations: 67.92 kB / 1.388 GB, free: 7.992 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.0003833/1.428, allocations: 260.5 kB / 1.388 GB, free: 7.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/1.428, allocations: 217.2 kB / 1.388 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003012/1.431, allocations: 1.199 MB / 1.39 GB, free: 6.328 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/1.431, allocations: 8 kB / 1.39 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.431, allocations: 0 / 1.39 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002367/1.434, allocations: 1.257 MB / 1.391 GB, free: 4.973 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.006423/1.44, allocations: 3.147 MB / 1.394 GB, free: 1.754 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.44, allocations: 0 / 1.394 GB, free: 1.754 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/1.441, allocations: 187.7 kB / 1.394 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002313/1.441, allocations: 56.8 kB / 1.394 GB, free: 1.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-05/1.441, allocations: 22.44 kB / 1.394 GB, free: 1.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/1.443, allocations: 1.424 MB / 1.396 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.443, allocations: 4 kB / 1.396 GB, free: 15.94 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004025/1.447, allocations: 1.806 MB / 1.397 GB, free: 14.11 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/1.448, allocations: 390.2 kB / 1.398 GB, free: 13.7 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/1.448, allocations: 19.98 kB / 1.398 GB, free: 13.68 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/1.45, allocations: 147.7 kB / 1.398 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/1.45, allocations: 67.05 kB / 1.398 GB, free: 13.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.453e-05/1.45, allocations: 35.91 kB / 1.398 GB, free: 13.44 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002224/1.452, allocations: 1.421 MB / 1.399 GB, free: 12.01 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.01e-07/1.452, allocations: 4 kB / 1.399 GB, free: 12 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003367/1.456, allocations: 1.126 MB / 1.4 GB, free: 10.88 MB / 1.045 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.001941/1.457, allocations: 0.732 MB / 1.401 GB, free: 10.31 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004939/1.462, allocations: 2.335 MB / 1.403 GB, free: 8.02 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.462, allocations: 0 / 1.403 GB, free: 8.02 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/1.464, allocations: 0.6227 MB / 1.404 GB, free: 7.406 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00465/1.469, allocations: 0.9583 MB / 1.405 GB, free: 6.457 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009431/1.478, allocations: 5.041 MB / 1.41 GB, free: 1.383 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/1.479, allocations: 1.664 MB / 1.412 GB, free: 15.68 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002707/1.482, allocations: 0.5597 MB / 1.412 GB, free: 15.12 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005467/1.483, allocations: 167.4 kB / 1.412 GB, free: 14.96 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/1.483, allocations: 0 / 1.412 GB, free: 14.96 MB / 1.061 GB Notification: Performance of Templates: time 0.06778/1.55, allocations: 38.02 MB / 1.449 GB, free: 9.5 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)