Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") translateModel(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 112.2 kB / 16.38 MB, free: 6.023 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.001149/0.00115, allocations: 188.6 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.875/1.875, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 71.03 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1877, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.4047/0.5925, allocations: 112.1 MB / 0.8943 GB, free: 3.41 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04207/0.6346, allocations: 31.85 MB / 0.9254 GB, free: 9.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005566/0.6402, allocations: 147.3 kB / 0.9255 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004901/0.6451, allocations: 1.803 MB / 0.9273 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01244/0.6576, allocations: 4.572 MB / 0.9317 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008411/0.666, allocations: 3.553 MB / 0.9352 GB, free: 288 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.04145/0.7075, allocations: 47.47 MB / 0.9816 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02733/0.7348, allocations: 23.82 MB / 1.005 GB, free: 8.832 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02868/0.7636, allocations: 16.16 MB / 1.021 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02199/0.7856, allocations: 14.04 MB / 1.034 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.006242/0.7919, allocations: 2.438 MB / 1.037 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01405/0.8059, allocations: 4.746 MB / 1.041 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.008412/0.8144, allocations: 5.485 MB / 1.047 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.02083/0.8352, allocations: 11.05 MB / 1.057 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.03708/0.8723, allocations: 34.45 MB / 1.091 GB, free: 320 kB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8724, allocations: 0 / 1.091 GB, free: 320 kB / 0.8731 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8724, allocations: 0 / 1.091 GB, free: 320 kB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0008867/0.8733, allocations: 0 / 1.091 GB, free: 320 kB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3345 * Number of variables: 3345 Notification: Performance of Generate backend data structure: time 0.04853/0.9218, allocations: 19.72 MB / 1.11 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.9219, allocations: 8.031 kB / 1.11 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009337/0.9312, allocations: 1.96 MB / 1.112 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03017/0.9614, allocations: 15.94 MB / 1.128 GB, free: 10.44 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009357/0.9624, allocations: 1.006 MB / 1.129 GB, free: 9.43 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004603/0.967, allocations: 1.34 MB / 1.13 GB, free: 8.09 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4119/1.379, allocations: 20.24 MB / 1.15 GB, free: 271.6 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004958/1.379, allocations: 42.98 kB / 1.15 GB, free: 271.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003911/1.383, allocations: 0.5391 MB / 1.15 GB, free: 271.1 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004971/1.384, allocations: 391.2 kB / 1.151 GB, free: 271.1 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04574/1.43, allocations: 18.14 MB / 1.169 GB, free: 264.9 MB / 0.92 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.133/1.563, allocations: 86.39 MB / 1.253 GB, free: 201.3 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01898/1.582, allocations: 12.96 MB / 1.266 GB, free: 192.7 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01014/1.592, allocations: 7.41 MB / 1.273 GB, free: 185.3 MB / 0.92 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 evalFunc (simulation): time 0.04863/1.64, allocations: 26.93 MB / 1.299 GB, free: 157.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01081/1.651, allocations: 6.053 MB / 1.305 GB, free: 151.4 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007332/1.659, allocations: 0.8236 MB / 1.306 GB, free: 150.5 MB / 0.92 GB Notification: Performance of pre-optimization done (n=772): time 3.526e-05/1.659, allocations: 0 / 1.306 GB, free: 150.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=772): time 0.1073/1.766, allocations: 32.35 MB / 1.337 GB, free: 118 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/1.766, allocations: 163 kB / 1.338 GB, free: 117.9 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02011/1.786, allocations: 12.64 MB / 1.35 GB, free: 105.2 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.002169/1.789, allocations: 205.7 kB / 1.35 GB, free: 105 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.006153/1.795, allocations: 6.962 MB / 1.357 GB, free: 98.06 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.003525/1.798, allocations: 2.695 MB / 1.36 GB, free: 95.39 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003747/1.802, allocations: 2.309 MB / 1.362 GB, free: 93.07 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.654e-05/1.802, allocations: 313.1 kB / 1.362 GB, free: 92.76 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008156/1.81, allocations: 6.329 MB / 1.368 GB, free: 86.43 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01013/1.82, allocations: 9.598 MB / 1.378 GB, free: 75.44 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01857/1.839, allocations: 15.95 MB / 1.393 GB, free: 58.02 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-05/1.839, allocations: 28 kB / 1.393 GB, free: 58 MB / 0.92 GB Notification: Performance of matching and sorting (n=1474) (initialization): time 0.03528/1.874, allocations: 18.86 MB / 1.412 GB, free: 39.01 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.451e-05/1.874, allocations: 74.83 kB / 1.412 GB, free: 38.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/1.875, allocations: 100 kB / 1.412 GB, free: 38.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05956/1.934, allocations: 9.118 MB / 1.421 GB, free: 29.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01053/1.945, allocations: 2.453 MB / 1.423 GB, free: 27.24 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/1.956, allocations: 10.82 MB / 1.434 GB, free: 16.13 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01263/1.968, allocations: 0.7291 MB / 1.434 GB, free: 15.4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002699/1.971, allocations: 0.5212 MB / 1.435 GB, free: 14.88 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02006/1.991, allocations: 11.67 MB / 1.446 GB, free: 3.199 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01359/2.005, allocations: 9.591 MB / 1.456 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02629/2.031, allocations: 15.94 MB / 1.471 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.264e-05/2.031, allocations: 28 kB / 1.471 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1474) (initialization_lambda0): time 0.04075/2.072, allocations: 18.86 MB / 1.49 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/2.072, allocations: 77.69 kB / 1.49 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001241/2.072, allocations: 103.9 kB / 1.49 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06344/2.136, allocations: 9.112 MB / 1.499 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01104/2.147, allocations: 2.457 MB / 1.501 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4137/2.561, allocations: 10.81 MB / 1.512 GB, free: 310.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01206/2.573, allocations: 0.7211 MB / 1.512 GB, free: 310.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002377/2.575, allocations: 0.5212 MB / 1.513 GB, free: 310.9 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 5 (mHex_flow_in.count,$PRE.mHex_flow_in.count,mHex_flow_in.T_start,$PRE.mHex_flow_in.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1286): * Single equations (assignments): 1282 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,144)} Notification: Performance of prepare postOptimizeDAE: time 0.002562/2.578, allocations: 0.8571 MB / 1.514 GB, free: 310.7 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003609/2.581, allocations: 1.148 MB / 1.515 GB, free: 310.7 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02452/2.606, allocations: 13.36 MB / 1.528 GB, free: 308.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01966/2.625, allocations: 11.04 MB / 1.539 GB, free: 304.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.21e-05/2.626, allocations: 0 / 1.539 GB, free: 304.7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007858/2.633, allocations: 2.759 MB / 1.541 GB, free: 303.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004676/2.638, allocations: 156.8 kB / 1.542 GB, free: 303.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009943/2.648, allocations: 466 kB / 1.542 GB, free: 303.6 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002009/2.65, allocations: 460 kB / 1.542 GB, free: 303.5 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05247/2.703, allocations: 14.32 MB / 1.556 GB, free: 298.7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.06043/2.763, allocations: 18.9 MB / 1.575 GB, free: 291.2 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01373/2.777, allocations: 5.515 MB / 1.58 GB, free: 289.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.01692/2.794, allocations: 8.773 MB / 1.589 GB, free: 286.1 MB / 0.9825 GB Notification: Performance of Backend: time 1.102e-06/2.794, allocations: 2.625 kB / 1.589 GB, free: 286.1 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.042/2.836, allocations: 19.77 MB / 1.608 GB, free: 274.7 MB / 0.9825 GB Notification: Performance of SimCode: time 0.06972/2.906, allocations: 35.84 MB / 1.643 GB, free: 239.8 MB / 0.9825 GB Notification: Performance of Templates: time 1.055/3.96, allocations: 327.6 MB / 1.963 GB, free: 287.9 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.sim & ./Buildings_8_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe 2>&1)