Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") translateModel(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001558/0.001559, 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.002053/0.002054, allocations: 188.2 kB / 16.13 MB, free: 6.656 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.59/1.59, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.974/2.974, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 65.22 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3287, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.7215/1.05, allocations: 187.7 MB / 1.251 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02898/1.079, allocations: 26.9 MB / 1.277 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002718/1.082, allocations: 53.78 kB / 1.277 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01477/1.097, allocations: 4.652 MB / 1.282 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01174/1.109, allocations: 3.447 MB / 1.285 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005457/1.114, allocations: 1.879 MB / 1.287 GB, free: 4.766 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.01151/1.126, allocations: 8.878 MB / 1.296 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002557/1.128, allocations: 1.324 MB / 1.297 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004347/1.132, allocations: 1.846 MB / 1.299 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002724/1.135, allocations: 1.378 MB / 1.3 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005236/1.136, allocations: 87.31 kB / 1.3 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01105/1.147, allocations: 4.393 MB / 1.304 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001018/1.148, allocations: 0.5608 MB / 1.305 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002557/1.15, allocations: 1.082 MB / 1.306 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0114/1.162, allocations: 5.592 MB / 1.311 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.162, allocations: 0 / 1.311 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/1.162, allocations: 0 / 1.311 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.982e-05/1.162, allocations: 0 / 1.311 GB, free: 3.602 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.007049/1.169, allocations: 2.797 MB / 1.314 GB, free: 18.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.169, allocations: 10.22 kB / 1.314 GB, free: 18.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004453/1.174, allocations: 0.6478 MB / 1.315 GB, free: 18.06 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0051/1.179, allocations: 2.793 MB / 1.318 GB, free: 17.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/1.179, allocations: 89.23 kB / 1.318 GB, free: 17.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/1.179, allocations: 117.2 kB / 1.318 GB, free: 17.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00273/1.182, allocations: 1.34 MB / 1.319 GB, free: 17.32 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/1.182, allocations: 3.172 kB / 1.319 GB, free: 17.32 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/1.182, allocations: 45.59 kB / 1.319 GB, free: 17.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/1.182, allocations: 37.73 kB / 1.319 GB, free: 17.32 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/1.185, allocations: 1.144 MB / 1.32 GB, free: 17.3 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.008979/1.194, allocations: 6.616 MB / 1.327 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/1.195, allocations: 0.8119 MB / 1.327 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007557/1.196, allocations: 399 kB / 1.328 GB, free: 14.13 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006747/1.203, allocations: 2.798 MB / 1.331 GB, free: 12.76 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/1.204, allocations: 0.5065 MB / 1.331 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007729/1.205, allocations: 100.2 kB / 1.331 GB, free: 12.61 MB / 1.014 GB Notification: Performance of pre-optimization done (n=71): time 2.285e-06/1.205, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.04887/1.254, allocations: 18.51 MB / 1.349 GB, free: 6.875 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.619e-05/1.254, allocations: 166.7 kB / 1.349 GB, free: 6.688 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002799/1.257, allocations: 1.962 MB / 1.351 GB, free: 5.586 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/1.257, allocations: 46.02 kB / 1.351 GB, free: 5.543 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000775/1.258, allocations: 0.8552 MB / 1.352 GB, free: 4.793 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002934/1.258, allocations: 310.3 kB / 1.353 GB, free: 4.535 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000492/1.258, allocations: 339.4 kB / 1.353 GB, free: 4.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.809e-05/1.258, allocations: 301.1 kB / 1.353 GB, free: 4.043 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/1.26, allocations: 0.6533 MB / 1.354 GB, free: 3.711 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/1.261, allocations: 1.055 MB / 1.355 GB, free: 2.891 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0026/1.264, allocations: 1.622 MB / 1.356 GB, free: 1.844 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/1.264, allocations: 3.844 kB / 1.356 GB, free: 1.844 MB / 1.014 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004443/1.268, allocations: 2.116 MB / 1.358 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.269, allocations: 8.094 kB / 1.358 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/1.269, allocations: 11.28 kB / 1.358 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007711/1.269, allocations: 217.7 kB / 1.359 GB, free: 0.707 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/1.271, allocations: 317.9 kB / 1.359 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004939/1.275, allocations: 3.85 MB / 1.363 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/1.278, allocations: 148.2 kB / 1.363 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/1.278, allocations: 71.92 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.001219/1.279, allocations: 0.5681 MB / 1.364 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006371/1.28, allocations: 192.2 kB / 1.364 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003937/1.284, allocations: 1.501 MB / 1.365 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/1.284, allocations: 11.94 kB / 1.365 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.284, allocations: 4 kB / 1.365 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002734/1.287, allocations: 1.269 MB / 1.366 GB, free: 9.023 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.02506/1.312, allocations: 9.28 MB / 1.375 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/1.312, allocations: 8 kB / 1.375 GB, free: 15.45 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008806/1.313, allocations: 178.1 kB / 1.376 GB, free: 15.29 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005657/1.313, allocations: 160.9 kB / 1.376 GB, free: 15.12 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.199e-05/1.313, allocations: 35.98 kB / 1.376 GB, free: 15.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003092/1.316, allocations: 2.156 MB / 1.378 GB, free: 12.82 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/1.316, allocations: 6.531 kB / 1.378 GB, free: 12.81 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004573/1.321, allocations: 1.919 MB / 1.38 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/1.322, allocations: 394.8 kB / 1.38 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005465/1.323, allocations: 39.83 kB / 1.38 GB, free: 10.37 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001799/1.324, allocations: 119.8 kB / 1.38 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/1.325, allocations: 77.48 kB / 1.38 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.853e-05/1.325, allocations: 43.97 kB / 1.38 GB, free: 10.14 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002882/1.328, allocations: 1.355 MB / 1.382 GB, free: 8.766 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.91e-07/1.328, allocations: 6.469 kB / 1.382 GB, free: 8.762 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.005555/1.333, allocations: 1.383 MB / 1.383 GB, free: 7.379 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.007383/1.341, allocations: 1.3 MB / 1.384 GB, free: 6.305 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003851/1.344, allocations: 1.65 MB / 1.386 GB, free: 4.676 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.345, allocations: 8.25 kB / 1.386 GB, free: 4.668 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001525/1.346, allocations: 0.6478 MB / 1.387 GB, free: 4.035 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004201/1.35, allocations: 0.8967 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.00656/1.357, allocations: 4.381 MB / 1.392 GB, free: 14.7 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/1.358, allocations: 1.499 MB / 1.393 GB, free: 13.16 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001835/1.36, allocations: 402.3 kB / 1.394 GB, free: 12.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004993/1.36, allocations: 163.4 kB / 1.394 GB, free: 12.61 MB / 1.061 GB Notification: Performance of SimCode: time 7.11e-07/1.36, allocations: 0 / 1.394 GB, free: 12.61 MB / 1.061 GB Notification: Performance of Templates: time 0.1089/1.469, allocations: 68.75 MB / 1.461 GB, free: 8.523 MB / 1.123 GB make -j1 -f Buildings_3.0.0_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.makefile (rm -f Buildings_3.0.0_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_3.0.0_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_3.0.0_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & ./Buildings_3.0.0_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1)