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.000922/0.0009222, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007766/0.007766, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.514/1.514, 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.951/2.951, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003584, allocations: 8.844 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3078, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.8273/1.135, allocations: 185.2 MB / 1.255 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03872/1.174, allocations: 26.59 MB / 1.281 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003461/1.177, allocations: 53.38 kB / 1.281 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01152/1.189, allocations: 4.635 MB / 1.286 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01254/1.202, allocations: 3.452 MB / 1.289 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006572/1.208, allocations: 1.88 MB / 1.291 GB, free: 5.203 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.01426/1.222, allocations: 8.887 MB / 1.299 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003058/1.225, allocations: 1.285 MB / 1.301 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005406/1.231, allocations: 1.805 MB / 1.302 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003496/1.234, allocations: 1.339 MB / 1.304 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007101/1.235, allocations: 71.31 kB / 1.304 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01272/1.248, allocations: 4.374 MB / 1.308 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001489/1.249, allocations: 0.5352 MB / 1.309 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003084/1.253, allocations: 1.083 MB / 1.31 GB, free: 20.85 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01375/1.266, allocations: 5.487 MB / 1.315 GB, free: 20.59 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.266, allocations: 0 / 1.315 GB, free: 20.59 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.675e-06/1.266, allocations: 0 / 1.315 GB, free: 20.59 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.779e-05/1.266, allocations: 0 / 1.315 GB, free: 20.59 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.00743/1.274, allocations: 2.389 MB / 1.317 GB, free: 19.26 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.274, allocations: 9.625 kB / 1.317 GB, free: 19.26 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004863/1.279, allocations: 0.6555 MB / 1.318 GB, free: 19.12 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005897/1.285, allocations: 2.805 MB / 1.321 GB, free: 18.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/1.285, allocations: 88.31 kB / 1.321 GB, free: 18.6 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003653/1.285, allocations: 119.7 kB / 1.321 GB, free: 18.6 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/1.288, allocations: 1.348 MB / 1.322 GB, free: 18.38 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/1.288, allocations: 2.625 kB / 1.322 GB, free: 18.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/1.288, allocations: 42.38 kB / 1.322 GB, free: 18.38 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.601e-05/1.288, allocations: 49.3 kB / 1.322 GB, free: 18.37 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002733/1.291, allocations: 1.149 MB / 1.324 GB, free: 18.35 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.00962/1.301, allocations: 6.623 MB / 1.33 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/1.303, allocations: 0.8115 MB / 1.331 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000794/1.304, allocations: 402.3 kB / 1.331 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007257/1.311, allocations: 2.821 MB / 1.334 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/1.312, allocations: 0.5043 MB / 1.334 GB, free: 13.12 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001027/1.313, allocations: 113 kB / 1.335 GB, free: 13.06 MB / 1.014 GB Notification: Performance of pre-optimization done (n=71): time 3.226e-06/1.313, allocations: 0 / 1.335 GB, free: 13.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.04906/1.362, allocations: 17.88 MB / 1.352 GB, free: 7.711 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.023e-05/1.362, allocations: 167.5 kB / 1.352 GB, free: 7.523 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002789/1.365, allocations: 1.968 MB / 1.354 GB, free: 6.969 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001373/1.365, allocations: 45.7 kB / 1.354 GB, free: 6.938 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008141/1.366, allocations: 0.8575 MB / 1.355 GB, free: 6.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003478/1.366, allocations: 312.7 kB / 1.355 GB, free: 6.219 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/1.367, allocations: 156.3 kB / 1.355 GB, free: 6.121 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.367, allocations: 303.1 kB / 1.356 GB, free: 5.824 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/1.368, allocations: 0.6523 MB / 1.356 GB, free: 5.492 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/1.37, allocations: 1.058 MB / 1.357 GB, free: 4.672 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002601/1.372, allocations: 1.622 MB / 1.359 GB, free: 3.625 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/1.372, allocations: 0 / 1.359 GB, free: 3.625 MB / 1.014 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004434/1.377, allocations: 2.113 MB / 1.361 GB, free: 2.598 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/1.377, allocations: 11.69 kB / 1.361 GB, free: 2.598 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/1.377, allocations: 9.531 kB / 1.361 GB, free: 2.598 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007736/1.378, allocations: 221.6 kB / 1.361 GB, free: 2.492 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/1.379, allocations: 313.5 kB / 1.362 GB, free: 2.434 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004702/1.384, allocations: 3.867 MB / 1.365 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/1.386, allocations: 154.9 kB / 1.365 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/1.386, allocations: 64.86 kB / 1.366 GB, free: 14.8 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.001157/1.387, allocations: 0.5739 MB / 1.366 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000533/1.388, allocations: 184.8 kB / 1.366 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003637/1.391, allocations: 1.503 MB / 1.368 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/1.391, allocations: 13.75 kB / 1.368 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.391, allocations: 2.562 kB / 1.368 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002597/1.394, allocations: 1.274 MB / 1.369 GB, free: 12.6 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.02519/1.419, allocations: 9.339 MB / 1.378 GB, free: 3.195 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/1.419, allocations: 4 kB / 1.378 GB, free: 3.191 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008842/1.42, allocations: 189.4 kB / 1.378 GB, free: 3.016 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005801/1.421, allocations: 159.6 kB / 1.378 GB, free: 2.859 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.682e-05/1.421, allocations: 31.98 kB / 1.378 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003108/1.424, allocations: 2.167 MB / 1.381 GB, free: 0.543 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/1.424, allocations: 6.906 kB / 1.381 GB, free: 0.5391 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004387/1.428, allocations: 1.918 MB / 1.382 GB, free: 14.54 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/1.429, allocations: 422.4 kB / 1.383 GB, free: 14.11 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/1.43, allocations: 35.92 kB / 1.383 GB, free: 14.07 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/1.431, allocations: 120.3 kB / 1.383 GB, free: 13.95 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/1.431, allocations: 75.31 kB / 1.383 GB, free: 13.88 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-05/1.431, allocations: 39.98 kB / 1.383 GB, free: 13.84 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002279/1.434, allocations: 1.359 MB / 1.384 GB, free: 12.46 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.543e-06/1.434, allocations: 0 / 1.384 GB, free: 12.46 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.005206/1.439, allocations: 1.375 MB / 1.386 GB, free: 11.09 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.006484/1.445, allocations: 1.3 MB / 1.387 GB, free: 10.01 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003731/1.449, allocations: 1.644 MB / 1.389 GB, free: 8.387 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.449, allocations: 0 / 1.389 GB, free: 8.387 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/1.451, allocations: 0.6581 MB / 1.389 GB, free: 7.746 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005935/1.456, allocations: 0.9109 MB / 1.39 GB, free: 6.844 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006729/1.463, allocations: 4.492 MB / 1.395 GB, free: 2.273 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/1.464, allocations: 1.499 MB / 1.396 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001917/1.466, allocations: 406 kB / 1.396 GB, free: 356 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005036/1.467, allocations: 167.4 kB / 1.397 GB, free: 188 kB / 1.045 GB Notification: Performance of SimCode: time 7.91e-07/1.467, allocations: 0 / 1.397 GB, free: 188 kB / 1.045 GB Notification: Performance of Templates: time 0.1148/1.582, allocations: 68.57 MB / 1.464 GB, free: 12.28 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)