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.001997/0.001997, 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.002801/0.002801, allocations: 195.6 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.508/1.508, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.96/2.96, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 64.7 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3068, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.7582/1.065, allocations: 187.7 MB / 1.251 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02931/1.094, allocations: 26.91 MB / 1.277 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002666/1.097, allocations: 54.66 kB / 1.277 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01065/1.108, allocations: 4.651 MB / 1.282 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0106/1.118, allocations: 3.442 MB / 1.285 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00577/1.124, allocations: 1.881 MB / 1.287 GB, free: 4.754 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.0129/1.137, allocations: 8.883 MB / 1.296 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002526/1.14, allocations: 1.321 MB / 1.297 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005146/1.145, allocations: 1.843 MB / 1.299 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003708/1.149, allocations: 1.373 MB / 1.3 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000523/1.149, allocations: 90.28 kB / 1.3 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01675/1.166, allocations: 4.401 MB / 1.304 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002189/1.168, allocations: 0.556 MB / 1.305 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00352/1.172, allocations: 1.084 MB / 1.306 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01594/1.188, allocations: 5.585 MB / 1.311 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.188, allocations: 2.406 kB / 1.311 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/1.188, allocations: 0 / 1.311 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.578e-05/1.188, allocations: 0 / 1.311 GB, free: 3.594 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.007519/1.195, allocations: 2.801 MB / 1.314 GB, free: 18.19 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.195, allocations: 14.03 kB / 1.314 GB, free: 18.19 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004443/1.2, allocations: 0.6372 MB / 1.315 GB, free: 18.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00455/1.204, allocations: 2.794 MB / 1.318 GB, free: 17.54 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-05/1.204, allocations: 87.86 kB / 1.318 GB, free: 17.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/1.205, allocations: 124.7 kB / 1.318 GB, free: 17.53 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002593/1.207, allocations: 1.341 MB / 1.319 GB, free: 17.31 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/1.207, allocations: 5.125 kB / 1.319 GB, free: 17.31 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/1.207, allocations: 44.03 kB / 1.319 GB, free: 17.31 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/1.207, allocations: 38.98 kB / 1.319 GB, free: 17.31 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002517/1.21, allocations: 1.145 MB / 1.32 GB, free: 17.29 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.008952/1.219, allocations: 6.614 MB / 1.327 GB, free: 14.24 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/1.221, allocations: 0.8031 MB / 1.327 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008622/1.222, allocations: 406.1 kB / 1.328 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007267/1.229, allocations: 2.795 MB / 1.331 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/1.23, allocations: 0.5163 MB / 1.331 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009064/1.231, allocations: 100.9 kB / 1.331 GB, free: 12.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=71): time 2.875e-06/1.231, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.0499/1.281, allocations: 18.5 MB / 1.349 GB, free: 6.895 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/1.281, allocations: 167.1 kB / 1.349 GB, free: 6.703 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002739/1.284, allocations: 1.968 MB / 1.351 GB, free: 5.598 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001361/1.284, allocations: 48.39 kB / 1.351 GB, free: 5.551 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000826/1.285, allocations: 0.8583 MB / 1.352 GB, free: 4.805 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003367/1.285, allocations: 306.5 kB / 1.353 GB, free: 4.547 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005017/1.286, allocations: 331.6 kB / 1.353 GB, free: 4.359 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.286, allocations: 305.1 kB / 1.353 GB, free: 4.059 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/1.287, allocations: 0.651 MB / 1.354 GB, free: 3.727 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/1.289, allocations: 1.055 MB / 1.355 GB, free: 2.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002778/1.292, allocations: 1.624 MB / 1.356 GB, free: 1.859 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/1.292, allocations: 2.562 kB / 1.356 GB, free: 1.859 MB / 1.014 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004623/1.296, allocations: 2.118 MB / 1.358 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/1.297, allocations: 9.625 kB / 1.358 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/1.297, allocations: 10.78 kB / 1.358 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008041/1.297, allocations: 222 kB / 1.359 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/1.299, allocations: 309.5 kB / 1.359 GB, free: 0.668 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004938/1.304, allocations: 3.852 MB / 1.363 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/1.306, allocations: 148.8 kB / 1.363 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/1.306, allocations: 75.91 kB / 1.363 GB, free: 12.63 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.001155/1.307, allocations: 0.5624 MB / 1.364 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006224/1.308, allocations: 189.6 kB / 1.364 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003908/1.312, allocations: 1.503 MB / 1.365 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/1.312, allocations: 11.94 kB / 1.365 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.312, allocations: 7.938 kB / 1.365 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002787/1.315, allocations: 1.273 MB / 1.366 GB, free: 9.02 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.02537/1.34, allocations: 9.267 MB / 1.375 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.34, allocations: 8 kB / 1.375 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008925/1.341, allocations: 186.6 kB / 1.376 GB, free: 15.29 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005972/1.342, allocations: 156.7 kB / 1.376 GB, free: 15.13 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.809e-05/1.342, allocations: 31.98 kB / 1.376 GB, free: 15.1 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003327/1.345, allocations: 2.162 MB / 1.378 GB, free: 12.82 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.345, allocations: 10.53 kB / 1.378 GB, free: 12.81 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004499/1.35, allocations: 1.912 MB / 1.38 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/1.351, allocations: 394.6 kB / 1.38 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003291/1.351, allocations: 39.83 kB / 1.38 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/1.352, allocations: 119.9 kB / 1.38 GB, free: 10.26 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/1.353, allocations: 81.41 kB / 1.38 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.953e-05/1.353, allocations: 39.98 kB / 1.38 GB, free: 10.14 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002756/1.356, allocations: 1.363 MB / 1.382 GB, free: 8.762 MB / 1.045 GB Notification: Performance of sort global known variables: time 4.21e-07/1.356, allocations: 0 / 1.382 GB, free: 8.762 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.007256/1.363, allocations: 1.375 MB / 1.383 GB, free: 7.387 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.007356/1.37, allocations: 1.306 MB / 1.384 GB, free: 6.309 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004151/1.374, allocations: 1.647 MB / 1.386 GB, free: 4.684 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/1.374, allocations: 7.938 kB / 1.386 GB, free: 4.676 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001599/1.376, allocations: 0.6471 MB / 1.387 GB, free: 4.043 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004529/1.381, allocations: 0.9031 MB / 1.388 GB, free: 3.148 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006828/1.387, allocations: 4.382 MB / 1.392 GB, free: 14.69 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/1.389, allocations: 1.495 MB / 1.393 GB, free: 13.16 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002028/1.391, allocations: 407.7 kB / 1.394 GB, free: 12.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005103/1.391, allocations: 167.4 kB / 1.394 GB, free: 12.6 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/1.391, allocations: 2.625 kB / 1.394 GB, free: 12.6 MB / 1.061 GB Notification: Performance of Templates: time 0.1064/1.498, allocations: 68.75 MB / 1.461 GB, free: 8.523 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)