Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Indirect.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.ETS.Heating.Examples.Indirect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Indirect") translateModel(Buildings.DHC.ETS.Heating.Examples.Indirect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Indirect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009814/0.0009814, 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.007167/0.007167, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.538/1.538, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.029/3.029, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004087, allocations: 12.59 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.408, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Heating.Examples.Indirect): time 0.1101/0.5182, allocations: 112.7 MB / 1.184 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04886/0.5671, allocations: 31.02 MB / 1.214 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007227/0.5744, allocations: 115.2 kB / 1.215 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01305/0.5875, allocations: 4.838 MB / 1.219 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01616/0.6037, allocations: 4.009 MB / 1.223 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0118/0.6155, allocations: 3.572 MB / 1.227 GB, free: 10.89 MB / 0.9825 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, 0.0009122484620345563}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02084/0.6363, allocations: 13.27 MB / 1.24 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006768/0.6431, allocations: 2.455 MB / 1.242 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0108/0.654, allocations: 2.994 MB / 1.245 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006201/0.6602, allocations: 2.266 MB / 1.247 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002161/0.6624, allocations: 120 kB / 1.247 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.014/0.6765, allocations: 3.377 MB / 1.251 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003079/0.6796, allocations: 0.7817 MB / 1.251 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.8569/1.537, allocations: 1.795 MB / 1.253 GB, free: 34.12 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01998/1.557, allocations: 6.588 MB / 1.26 GB, free: 33.97 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/1.557, allocations: 1.031 kB / 1.26 GB, free: 33.97 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.307e-06/1.557, allocations: 0 / 1.26 GB, free: 33.97 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003215/1.557, allocations: 0 / 1.26 GB, free: 33.97 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: 483 * Number of variables: 483 Notification: Performance of Generate backend data structure: time 0.01482/1.572, allocations: 3.803 MB / 1.263 GB, free: 32.07 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/1.572, allocations: 8.844 kB / 1.263 GB, free: 32.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00537/1.577, allocations: 0.8975 MB / 1.264 GB, free: 31.86 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/1.589, allocations: 4.032 MB / 1.268 GB, free: 31.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001205/1.59, allocations: 370.1 kB / 1.268 GB, free: 31.12 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/1.591, allocations: 209 kB / 1.269 GB, free: 31.12 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006109/1.597, allocations: 2.377 MB / 1.271 GB, free: 30.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.649e-05/1.597, allocations: 7.406 kB / 1.271 GB, free: 30.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002372/1.597, allocations: 75.31 kB / 1.271 GB, free: 30.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.432e-05/1.598, allocations: 74.78 kB / 1.271 GB, free: 30.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00598/1.604, allocations: 2.113 MB / 1.273 GB, free: 30.79 MB / 0.9981 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.02278/1.626, allocations: 11.63 MB / 1.285 GB, free: 25.55 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004194/1.631, allocations: 1.746 MB / 1.286 GB, free: 25.39 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002373/1.633, allocations: 0.9534 MB / 1.287 GB, free: 25.35 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01178/1.645, allocations: 5.487 MB / 1.293 GB, free: 22.95 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00247/1.647, allocations: 1.037 MB / 1.294 GB, free: 22.85 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002363/1.65, allocations: 214.2 kB / 1.294 GB, free: 22.76 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=135): time 1.29e-05/1.65, allocations: 0 / 1.294 GB, free: 22.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.01943/1.669, allocations: 5.971 MB / 1.3 GB, free: 21.15 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.46e-05/1.669, allocations: 118.8 kB / 1.3 GB, free: 21.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007438/1.677, allocations: 3.039 MB / 1.303 GB, free: 20.74 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000785/1.678, allocations: 64.66 kB / 1.303 GB, free: 20.71 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001797/1.679, allocations: 1.447 MB / 1.304 GB, free: 20.31 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008332/1.68, allocations: 499.5 kB / 1.305 GB, free: 20 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003982/1.681, allocations: 220.6 kB / 1.305 GB, free: 19.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.35e-05/1.681, allocations: 305.1 kB / 1.305 GB, free: 19.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002735/1.683, allocations: 0.9984 MB / 1.306 GB, free: 19.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003264/1.687, allocations: 1.55 MB / 1.308 GB, free: 19.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004944/1.692, allocations: 2.362 MB / 1.31 GB, free: 18.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/1.692, allocations: 1.625 kB / 1.31 GB, free: 18.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.008238/1.7, allocations: 3.088 MB / 1.313 GB, free: 18.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002786/1.7, allocations: 438.3 kB / 1.313 GB, free: 17.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/1.7, allocations: 12.25 kB / 1.313 GB, free: 17.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/1.701, allocations: 330.2 kB / 1.314 GB, free: 17.74 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/1.703, allocations: 0.5148 MB / 1.314 GB, free: 17.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/1.704, allocations: 1.476 MB / 1.316 GB, free: 16.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004243/1.709, allocations: 279.2 kB / 1.316 GB, free: 16.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002864/1.709, allocations: 92.16 kB / 1.316 GB, free: 16.66 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/1.709, allocations: 9.312 kB / 1.316 GB, free: 16.66 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005777/1.715, allocations: 2.67 MB / 1.319 GB, free: 16.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/1.715, allocations: 8.375 kB / 1.319 GB, free: 16.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009691/1.716, allocations: 304.3 kB / 1.319 GB, free: 16.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/1.718, allocations: 0.4995 MB / 1.319 GB, free: 16.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/1.72, allocations: 2.404 MB / 1.322 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003766/1.724, allocations: 266.7 kB / 1.322 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002495/1.724, allocations: 96.48 kB / 1.322 GB, free: 14.62 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.QHea.nextTimeEvent,$whenCondition1,heaETS.con.con1.y,heaETS.hex.flowRegime_nominal,heaETS.hex.flowRegime,QHea.nextTimeEventScaled,$PRE.QHea.nextTimeEventScaled,QHea.nextTimeEvent,heaETS.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (236): * Single equations (assignments): 232 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,15), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.002899/1.727, allocations: 0.7928 MB / 1.323 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001083/1.728, allocations: 325.8 kB / 1.323 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006005/1.734, allocations: 2.592 MB / 1.326 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.43e-05/1.734, allocations: 20.34 kB / 1.326 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.734, allocations: 0 / 1.326 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004211/1.738, allocations: 2.148 MB / 1.328 GB, free: 13.58 MB / 0.9981 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.01312/1.751, allocations: 5.306 MB / 1.333 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/1.751, allocations: 2.406 kB / 1.333 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/1.753, allocations: 332.1 kB / 1.333 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007173/1.754, allocations: 231 kB / 1.334 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/1.754, allocations: 52.67 kB / 1.334 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009479/1.755, allocations: 1.342 MB / 1.335 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.755, allocations: 3.312 kB / 1.335 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007674/1.762, allocations: 3.617 MB / 1.338 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002585/1.765, allocations: 0.655 MB / 1.339 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009735/1.766, allocations: 38.47 kB / 1.339 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002609/1.769, allocations: 245.4 kB / 1.339 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/1.769, allocations: 100.5 kB / 1.339 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/1.769, allocations: 72.11 kB / 1.339 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00393/1.773, allocations: 2.012 MB / 1.341 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.144e-06/1.773, allocations: 2.438 kB / 1.341 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.008603/1.782, allocations: 1.547 MB / 1.343 GB, free: 10.67 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 (heaETS.senTDisSup.T,heaETS.conVal.filter.s[1],heaETS.conVal.filter.s[2],heaETS.senTDisRet.T,heaETS.senTBuiRet.T,heaETS.senTBuiSup.T,heaETS.con.I.y,heaETS.int.y,loa.vol.dynBal.U,pumBui.filter.s[1],pumBui.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,QHea.nextTimeEvent,QHea.nextTimeEventScaled) * Number of discrete states: 2 (QHea.nextTimeEvent,QHea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,13), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004046/1.786, allocations: 1.267 MB / 1.344 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009135/1.795, allocations: 3.882 MB / 1.348 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/1.795, allocations: 1.781 kB / 1.348 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002579/1.797, allocations: 1.055 MB / 1.349 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009749/1.807, allocations: 1.384 MB / 1.35 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/1.82, allocations: 7.369 MB / 1.358 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/1.822, allocations: 1.982 MB / 1.36 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004473/1.826, allocations: 0.7992 MB / 1.36 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009336/1.827, allocations: 264.3 kB / 1.361 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of SimCode: time 1.463e-06/1.827, allocations: 0 / 1.361 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of Templates: time 0.1281/1.955, allocations: 65.62 MB / 1.425 GB, free: 7.812 MB / 1.061 GB make -j1 -f Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Indirect.makefile (rm -f Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe ; mkfifo Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe >> ../files/Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Indirect.sim & ./Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Indirect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe 2>&1)