Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 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.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") translateModel(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008916/0.0008916, allocations: 98.03 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.006503/0.006504, allocations: 168.7 kB / 16.26 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.467/1.467, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.92/2.92, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003217, allocations: 7.875 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.327, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.8441/1.171, allocations: 185.3 MB / 1.255 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03254/1.204, allocations: 26.58 MB / 1.281 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004076/1.208, allocations: 59.91 kB / 1.281 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01168/1.219, allocations: 4.641 MB / 1.286 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01157/1.231, allocations: 3.447 MB / 1.289 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00588/1.237, allocations: 1.88 MB / 1.291 GB, free: 5.219 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.01328/1.25, allocations: 8.885 MB / 1.299 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002476/1.253, allocations: 1.286 MB / 1.301 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00454/1.257, allocations: 1.8 MB / 1.302 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00259/1.26, allocations: 1.336 MB / 1.304 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002619/1.26, allocations: 71.22 kB / 1.304 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01192/1.272, allocations: 4.383 MB / 1.308 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009039/1.273, allocations: 0.5314 MB / 1.309 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002355/1.275, allocations: 1.078 MB / 1.31 GB, free: 20.86 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01122/1.287, allocations: 5.49 MB / 1.315 GB, free: 20.61 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.287, allocations: 4.625 kB / 1.315 GB, free: 20.61 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.024e-06/1.287, allocations: 0 / 1.315 GB, free: 20.61 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.609e-05/1.287, allocations: 0 / 1.315 GB, free: 20.61 MB / 1.014 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.006576/1.293, allocations: 2.384 MB / 1.317 GB, free: 19.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/1.293, allocations: 9.625 kB / 1.317 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004679/1.298, allocations: 0.6574 MB / 1.318 GB, free: 19.13 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005755/1.304, allocations: 2.804 MB / 1.321 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/1.304, allocations: 86.89 kB / 1.321 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000242/1.304, allocations: 118.4 kB / 1.321 GB, free: 18.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/1.307, allocations: 1.35 MB / 1.322 GB, free: 18.39 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/1.307, allocations: 2.938 kB / 1.322 GB, free: 18.39 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/1.307, allocations: 44.19 kB / 1.322 GB, free: 18.39 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.244e-05/1.307, allocations: 37.41 kB / 1.322 GB, free: 18.39 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002653/1.31, allocations: 1.156 MB / 1.324 GB, free: 18.37 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.009331/1.319, allocations: 6.628 MB / 1.33 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/1.321, allocations: 0.8124 MB / 1.331 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007771/1.322, allocations: 397.6 kB / 1.331 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007031/1.329, allocations: 2.828 MB / 1.334 GB, free: 13.33 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/1.33, allocations: 0.5055 MB / 1.334 GB, free: 13.13 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001141/1.331, allocations: 105.7 kB / 1.335 GB, free: 13.07 MB / 1.014 GB Notification: Performance of pre-optimization done (n=71): time 2.504e-06/1.331, allocations: 0 / 1.335 GB, free: 13.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.0484/1.38, allocations: 17.88 MB / 1.352 GB, free: 7.727 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/1.38, allocations: 170.6 kB / 1.352 GB, free: 7.535 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002903/1.383, allocations: 1.962 MB / 1.354 GB, free: 6.984 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001411/1.383, allocations: 50.48 kB / 1.354 GB, free: 6.953 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008021/1.384, allocations: 0.8602 MB / 1.355 GB, free: 6.473 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003596/1.384, allocations: 304.8 kB / 1.355 GB, free: 6.215 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/1.384, allocations: 157.7 kB / 1.355 GB, free: 6.117 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.384, allocations: 304.5 kB / 1.356 GB, free: 5.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/1.386, allocations: 0.6502 MB / 1.356 GB, free: 5.488 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/1.387, allocations: 1.057 MB / 1.357 GB, free: 4.668 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002743/1.39, allocations: 1.623 MB / 1.359 GB, free: 3.617 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/1.39, allocations: 2.531 kB / 1.359 GB, free: 3.617 MB / 1.014 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004575/1.395, allocations: 2.113 MB / 1.361 GB, free: 2.594 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/1.395, allocations: 9.344 kB / 1.361 GB, free: 2.594 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/1.395, allocations: 8.938 kB / 1.361 GB, free: 2.594 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007945/1.396, allocations: 229.1 kB / 1.361 GB, free: 2.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/1.397, allocations: 314.9 kB / 1.362 GB, free: 2.422 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004975/1.402, allocations: 3.858 MB / 1.365 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/1.404, allocations: 154.8 kB / 1.365 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/1.404, allocations: 69.42 kB / 1.365 GB, free: 14.79 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.001185/1.406, allocations: 0.5678 MB / 1.366 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005735/1.406, allocations: 186 kB / 1.366 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003736/1.41, allocations: 1.503 MB / 1.368 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/1.41, allocations: 18.28 kB / 1.368 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/1.41, allocations: 4.188 kB / 1.368 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002633/1.413, allocations: 1.274 MB / 1.369 GB, free: 12.59 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.0282/1.441, allocations: 9.343 MB / 1.378 GB, free: 3.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/1.441, allocations: 8 kB / 1.378 GB, free: 3.152 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009168/1.442, allocations: 181.1 kB / 1.378 GB, free: 2.984 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005806/1.442, allocations: 148.7 kB / 1.378 GB, free: 2.836 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/1.443, allocations: 43.98 kB / 1.378 GB, free: 2.793 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003236/1.446, allocations: 2.168 MB / 1.381 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/1.446, allocations: 10.91 kB / 1.381 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004652/1.45, allocations: 1.904 MB / 1.382 GB, free: 14.51 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/1.452, allocations: 434.4 kB / 1.383 GB, free: 14.07 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006362/1.452, allocations: 34.83 kB / 1.383 GB, free: 14.04 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/1.454, allocations: 119.3 kB / 1.383 GB, free: 13.92 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/1.455, allocations: 79.31 kB / 1.383 GB, free: 13.85 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/1.455, allocations: 39.92 kB / 1.383 GB, free: 13.81 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003223/1.458, allocations: 1.363 MB / 1.384 GB, free: 12.43 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.71e-07/1.458, allocations: 0 / 1.384 GB, free: 12.43 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.006218/1.464, allocations: 1.371 MB / 1.386 GB, free: 11.05 MB / 1.045 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.008466/1.473, allocations: 1.298 MB / 1.387 GB, free: 9.98 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004738/1.477, allocations: 1.649 MB / 1.389 GB, free: 8.352 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.965e-05/1.478, allocations: 4 kB / 1.389 GB, free: 8.348 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001796/1.479, allocations: 0.6534 MB / 1.389 GB, free: 7.711 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007469/1.487, allocations: 0.9118 MB / 1.39 GB, free: 6.812 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009298/1.496, allocations: 4.489 MB / 1.395 GB, free: 2.238 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001998/1.498, allocations: 1.495 MB / 1.396 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00248/1.501, allocations: 406.2 kB / 1.396 GB, free: 324 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007457/1.501, allocations: 167.4 kB / 1.397 GB, free: 156 kB / 1.045 GB Notification: Performance of SimCode: time 6.52e-07/1.501, allocations: 0 / 1.397 GB, free: 156 kB / 1.045 GB Notification: Performance of Templates: time 0.1153/1.617, allocations: 68.57 MB / 1.464 GB, free: 12.25 MB / 1.123 GB make -j1 -f Buildings_1.6_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.makefile (rm -f Buildings_1.6_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_1.6_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_1.6_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_1.6_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & ./Buildings_1.6_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1)