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.001144/0.001144, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001156/0.001156, allocations: 193.7 kB / 16.14 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.362/1.362, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.654/2.654, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 66.58 kB / 0.8984 GB, free: 37.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3305, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1921/0.5226, allocations: 187.7 MB / 1.235 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6599/1.183, allocations: 26.89 MB / 1.262 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003276/1.186, allocations: 55.84 kB / 1.262 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01107/1.197, allocations: 4.651 MB / 1.266 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01169/1.209, allocations: 3.442 MB / 1.27 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005931/1.215, allocations: 1.875 MB / 1.271 GB, free: 2.125 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, 1.845688257445312e-05}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01488/1.23, allocations: 8.885 MB / 1.28 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00293/1.233, allocations: 1.323 MB / 1.281 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005743/1.238, allocations: 1.843 MB / 1.283 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003751/1.242, allocations: 1.372 MB / 1.285 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005467/1.243, allocations: 87.03 kB / 1.285 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01098/1.254, allocations: 4.397 MB / 1.289 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001344/1.255, allocations: 0.558 MB / 1.289 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002632/1.258, allocations: 1.095 MB / 1.291 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01227/1.27, allocations: 5.583 MB / 1.296 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.27, allocations: 1 kB / 1.296 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.844e-06/1.27, allocations: 3.938 kB / 1.296 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.039e-05/1.27, allocations: 0 / 1.296 GB, free: 1.172 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.007108/1.277, allocations: 2.804 MB / 1.299 GB, free: 15.76 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/1.277, allocations: 10.53 kB / 1.299 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004669/1.282, allocations: 0.6432 MB / 1.299 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005098/1.287, allocations: 2.792 MB / 1.302 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.903e-05/1.287, allocations: 90.78 kB / 1.302 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002477/1.287, allocations: 116.5 kB / 1.302 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002668/1.29, allocations: 1.34 MB / 1.304 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/1.29, allocations: 3.375 kB / 1.304 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/1.29, allocations: 45.88 kB / 1.304 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/1.29, allocations: 45.2 kB / 1.304 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/1.293, allocations: 1.144 MB / 1.305 GB, free: 14.86 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.009389/1.302, allocations: 6.602 MB / 1.311 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/1.304, allocations: 0.815 MB / 1.312 GB, free: 11.73 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007759/1.305, allocations: 402.4 kB / 1.312 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007107/1.312, allocations: 2.798 MB / 1.315 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001216/1.314, allocations: 0.5019 MB / 1.316 GB, free: 10.24 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001001/1.315, allocations: 101.4 kB / 1.316 GB, free: 10.19 MB / 1.014 GB Notification: Performance of pre-optimization done (n=71): time 4.508e-06/1.315, allocations: 3.984 kB / 1.316 GB, free: 10.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.05275/1.367, allocations: 18.5 MB / 1.334 GB, free: 6.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/1.367, allocations: 163.8 kB / 1.334 GB, free: 6.062 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003733/1.371, allocations: 1.962 MB / 1.336 GB, free: 5.516 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002124/1.371, allocations: 43.36 kB / 1.336 GB, free: 5.484 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008426/1.372, allocations: 0.8691 MB / 1.337 GB, free: 5.105 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004236/1.373, allocations: 306.9 kB / 1.337 GB, free: 4.891 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005796/1.373, allocations: 337.1 kB / 1.337 GB, free: 4.82 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.823e-05/1.373, allocations: 301.1 kB / 1.338 GB, free: 4.523 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/1.375, allocations: 0.651 MB / 1.338 GB, free: 4.434 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/1.376, allocations: 1.064 MB / 1.339 GB, free: 3.895 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002677/1.379, allocations: 1.623 MB / 1.341 GB, free: 3.379 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.489e-05/1.379, allocations: 2.656 kB / 1.341 GB, free: 3.379 MB / 1.014 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.00468/1.384, allocations: 2.108 MB / 1.343 GB, free: 2.969 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/1.384, allocations: 10.81 kB / 1.343 GB, free: 2.969 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/1.384, allocations: 8.703 kB / 1.343 GB, free: 2.969 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008342/1.385, allocations: 220.3 kB / 1.343 GB, free: 2.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/1.386, allocations: 314.3 kB / 1.344 GB, free: 2.863 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00527/1.391, allocations: 3.857 MB / 1.347 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/1.394, allocations: 151.6 kB / 1.347 GB, free: 15.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002736/1.394, allocations: 68.67 kB / 1.348 GB, free: 15.91 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.001367/1.395, allocations: 0.568 MB / 1.348 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009011/1.396, allocations: 189.5 kB / 1.348 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00415/1.401, allocations: 1.494 MB / 1.35 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/1.401, allocations: 19.28 kB / 1.35 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.401, allocations: 0 / 1.35 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002714/1.403, allocations: 1.281 MB / 1.351 GB, free: 14.7 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.02648/1.43, allocations: 9.274 MB / 1.36 GB, free: 7.359 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/1.43, allocations: 4 kB / 1.36 GB, free: 7.355 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009062/1.431, allocations: 191.4 kB / 1.36 GB, free: 7.188 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000575/1.431, allocations: 151.5 kB / 1.36 GB, free: 7.066 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/1.431, allocations: 33.11 kB / 1.36 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003157/1.435, allocations: 2.154 MB / 1.363 GB, free: 5.227 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/1.435, allocations: 8 kB / 1.363 GB, free: 5.219 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004429/1.439, allocations: 1.916 MB / 1.364 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/1.441, allocations: 398.4 kB / 1.365 GB, free: 3.426 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007587/1.441, allocations: 32.06 kB / 1.365 GB, free: 3.406 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002111/1.444, allocations: 126 kB / 1.365 GB, free: 3.293 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/1.444, allocations: 81.09 kB / 1.365 GB, free: 3.227 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/1.444, allocations: 38.42 kB / 1.365 GB, free: 3.195 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003073/1.447, allocations: 1.359 MB / 1.366 GB, free: 2.227 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.11e-07/1.447, allocations: 4 kB / 1.366 GB, free: 2.223 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.006541/1.454, allocations: 1.382 MB / 1.368 GB, free: 0.9102 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.008805/1.462, allocations: 1.295 MB / 1.369 GB, free: 15.87 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004529/1.467, allocations: 1.658 MB / 1.371 GB, free: 14.46 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/1.467, allocations: 0 / 1.371 GB, free: 14.46 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001755/1.469, allocations: 0.649 MB / 1.371 GB, free: 13.83 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005147/1.474, allocations: 0.9044 MB / 1.372 GB, free: 12.93 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007671/1.482, allocations: 4.385 MB / 1.376 GB, free: 8.469 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/1.483, allocations: 1.499 MB / 1.378 GB, free: 6.934 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002216/1.485, allocations: 398.5 kB / 1.378 GB, free: 6.543 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006241/1.486, allocations: 167.4 kB / 1.378 GB, free: 6.379 MB / 1.045 GB Notification: Performance of SimCode: time 7.21e-07/1.486, allocations: 4 kB / 1.378 GB, free: 6.375 MB / 1.045 GB Notification: Performance of Templates: time 0.1146/1.601, allocations: 68.75 MB / 1.446 GB, free: 2.355 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)