Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bui.Q_flow|bui.vol.m_flow|bui.vol.sta_a.T|bui.vol.sta_b.T|bui.sta_a.p|bui.vol.sta_a.p|bui.vol.sta_b.p|bui.vol.port_a.h_outflow|bui.vol.port_b.h_outflow|bui.steTra.port_a.h_outflow|bui.steTra.port_b.h_outflow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") translateModel(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bui.Q_flow|bui.vol.m_flow|bui.vol.sta_a.T|bui.vol.sta_b.T|bui.sta_a.p|bui.vol.sta_a.p|bui.vol.sta_b.p|bui.vol.port_a.h_outflow|bui.vol.port_b.h_outflow|bui.steTra.port_a.h_outflow|bui.steTra.port_b.h_outflow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.01255/0.01255, allocations: 168.6 kB / 16.26 MB, free: 6.648 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.553/1.553, allocations: 223.3 MB / 240.3 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.007/3.007, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004012, allocations: 8.812 kB / 0.9028 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.328, allocations: 159.6 MB / 1.059 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2142/0.5422, allocations: 185.3 MB / 1.24 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6744/1.217, allocations: 26.57 MB / 1.266 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00287/1.22, allocations: 52.72 kB / 1.266 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01059/1.23, allocations: 4.643 MB / 1.27 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01169/1.242, allocations: 3.445 MB / 1.273 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006858/1.249, allocations: 1.888 MB / 1.275 GB, free: 2.281 MB / 0.9981 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, 1.845688257445312e-05}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01611/1.265, allocations: 8.878 MB / 1.284 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003139/1.268, allocations: 1.282 MB / 1.285 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005502/1.274, allocations: 1.81 MB / 1.287 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003301/1.277, allocations: 1.34 MB / 1.288 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004517/1.277, allocations: 71.38 kB / 1.288 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01178/1.289, allocations: 4.379 MB / 1.293 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001339/1.291, allocations: 0.5322 MB / 1.293 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002638/1.293, allocations: 1.075 MB / 1.294 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01339/1.307, allocations: 5.501 MB / 1.3 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.307, allocations: 0 / 1.3 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.869e-06/1.307, allocations: 0 / 1.3 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.64e-05/1.307, allocations: 0 / 1.3 GB, free: 1.703 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.007027/1.314, allocations: 2.381 MB / 1.302 GB, free: 16.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.314, allocations: 9.625 kB / 1.302 GB, free: 16.38 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004573/1.318, allocations: 0.6647 MB / 1.303 GB, free: 16.24 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005812/1.324, allocations: 2.794 MB / 1.305 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/1.324, allocations: 92.19 kB / 1.305 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/1.325, allocations: 113 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/1.327, allocations: 1.35 MB / 1.307 GB, free: 15.51 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/1.327, allocations: 2.344 kB / 1.307 GB, free: 15.51 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/1.328, allocations: 49.53 kB / 1.307 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-05/1.328, allocations: 41.42 kB / 1.307 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/1.33, allocations: 1.152 MB / 1.308 GB, free: 15.48 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.009422/1.34, allocations: 6.633 MB / 1.315 GB, free: 12.42 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/1.342, allocations: 0.8153 MB / 1.315 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007558/1.342, allocations: 401.5 kB / 1.316 GB, free: 12.31 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007005/1.349, allocations: 2.828 MB / 1.318 GB, free: 10.94 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/1.351, allocations: 0.5061 MB / 1.319 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009623/1.351, allocations: 97.77 kB / 1.319 GB, free: 10.79 MB / 1.014 GB Notification: Performance of pre-optimization done (n=71): time 2.875e-06/1.352, allocations: 4 kB / 1.319 GB, free: 10.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.04881/1.4, allocations: 17.87 MB / 1.337 GB, free: 6.258 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001496/1.401, allocations: 168.1 kB / 1.337 GB, free: 6.066 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003482/1.404, allocations: 1.96 MB / 1.339 GB, free: 5.516 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002837/1.404, allocations: 47.45 kB / 1.339 GB, free: 5.484 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001086/1.405, allocations: 0.8623 MB / 1.339 GB, free: 5.113 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004384/1.406, allocations: 309.3 kB / 1.34 GB, free: 4.895 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/1.406, allocations: 163.3 kB / 1.34 GB, free: 4.852 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.406, allocations: 305.9 kB / 1.34 GB, free: 4.551 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/1.408, allocations: 0.6539 MB / 1.341 GB, free: 4.461 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/1.409, allocations: 1.052 MB / 1.342 GB, free: 3.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002794/1.412, allocations: 1.629 MB / 1.343 GB, free: 3.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/1.412, allocations: 3.281 kB / 1.343 GB, free: 3.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004842/1.417, allocations: 2.104 MB / 1.346 GB, free: 3.004 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/1.417, allocations: 14.94 kB / 1.346 GB, free: 3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/1.417, allocations: 9.438 kB / 1.346 GB, free: 3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/1.418, allocations: 224.7 kB / 1.346 GB, free: 2.938 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/1.419, allocations: 312.3 kB / 1.346 GB, free: 2.895 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005756/1.425, allocations: 3.863 MB / 1.35 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003022/1.428, allocations: 155.2 kB / 1.35 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003815/1.429, allocations: 68.58 kB / 1.35 GB, free: 15.94 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.bui.QHea.nextTimeEvent,$whenCondition1,bui.QHea.nextTimeEventScaled,$PRE.bui.QHea.nextTimeEventScaled,bui.QHea.nextTimeEvent,bui.IntEHea.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 158 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001776/1.43, allocations: 0.5616 MB / 1.351 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/1.432, allocations: 194.5 kB / 1.351 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004325/1.436, allocations: 1.505 MB / 1.352 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/1.436, allocations: 14.97 kB / 1.352 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/1.436, allocations: 0 / 1.352 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002639/1.439, allocations: 1.271 MB / 1.354 GB, free: 14.71 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.02678/1.465, allocations: 9.334 MB / 1.363 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/1.465, allocations: 8.031 kB / 1.363 GB, free: 9.324 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008723/1.466, allocations: 184.9 kB / 1.363 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005804/1.467, allocations: 155.3 kB / 1.363 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.78e-05/1.467, allocations: 35.42 kB / 1.363 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003336/1.47, allocations: 2.167 MB / 1.365 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.046e-06/1.47, allocations: 10.53 kB / 1.365 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004694/1.475, allocations: 1.91 MB / 1.367 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/1.476, allocations: 421 kB / 1.367 GB, free: 5.379 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006874/1.477, allocations: 32.86 kB / 1.367 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/1.479, allocations: 124.7 kB / 1.368 GB, free: 5.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/1.479, allocations: 84.36 kB / 1.368 GB, free: 5.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/1.479, allocations: 36.61 kB / 1.368 GB, free: 5.148 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002715/1.482, allocations: 1.363 MB / 1.369 GB, free: 4.176 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.41e-07/1.482, allocations: 0 / 1.369 GB, free: 4.176 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.005901/1.488, allocations: 1.369 MB / 1.37 GB, free: 2.871 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 7 (bui.IntEHea.y,bui.pumCNR.port_a.h_outflow,bui.pumCNR.filter.s[1],bui.pumCNR.filter.s[2],bui.vol.VWat,bui.hIn.h_out,bui.hOut.h_out) * Number of discrete variables: 3 ($whenCondition1,bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of discrete states: 2 (bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008137/1.496, allocations: 1.3 MB / 1.372 GB, free: 1.828 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003848/1.5, allocations: 1.65 MB / 1.373 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.5, allocations: 0.5625 kB / 1.373 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001552/1.502, allocations: 0.6557 MB / 1.374 GB, free: 156 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006339/1.508, allocations: 0.9064 MB / 1.375 GB, free: 15.41 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007563/1.516, allocations: 4.491 MB / 1.379 GB, free: 11.3 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/1.517, allocations: 1.503 MB / 1.381 GB, free: 9.863 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002196/1.519, allocations: 402.5 kB / 1.381 GB, free: 9.469 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006372/1.52, allocations: 162.6 kB / 1.381 GB, free: 9.32 MB / 1.045 GB Notification: Performance of SimCode: time 9.11e-07/1.52, allocations: 0 / 1.381 GB, free: 9.32 MB / 1.045 GB Notification: Performance of Templates: time 0.1078/1.628, allocations: 68.59 MB / 1.448 GB, free: 5.453 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & ./Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1)