Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics") translateModel(IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001153/0.001153, allocations: 113.5 kB / 17.09 MB, free: 6.008 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.00122/0.00122, allocations: 193.6 kB / 18.03 MB, free: 5.086 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.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.786/0.786, allocations: 126.1 MB / 417.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 70.12 kB / 0.5737 GB, free: 27.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1314, allocations: 78.69 MB / 0.6506 GB, free: 4.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.4408/0.5723, allocations: 112.1 MB / 0.76 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03755/0.6098, allocations: 32.04 MB / 0.7913 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005492/0.6154, allocations: 155.7 kB / 0.7914 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004999/0.6204, allocations: 1.846 MB / 0.7933 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01285/0.6333, allocations: 4.84 MB / 0.798 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009406/0.6427, allocations: 3.618 MB / 0.8015 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.04395/0.6867, allocations: 47.76 MB / 0.8482 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03157/0.7183, allocations: 23.76 MB / 0.8714 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03091/0.7493, allocations: 16.35 MB / 0.8873 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02356/0.7729, allocations: 14.03 MB / 0.901 GB, free: 10.89 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.007486/0.7804, allocations: 2.434 MB / 0.9034 GB, free: 8.453 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01732/0.7977, allocations: 4.754 MB / 0.908 GB, free: 3.832 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.009591/0.8073, allocations: 5.504 MB / 0.9134 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.02133/0.8287, allocations: 11.09 MB / 0.9242 GB, free: 3.379 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.04139/0.8701, allocations: 34.69 MB / 0.9581 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.8701, allocations: 3.938 kB / 0.9581 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8701, allocations: 0 / 0.9581 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.001/0.8712, allocations: 0 / 0.9581 GB, free: 1.328 MB / 0.7169 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.05271/0.9239, allocations: 20.33 MB / 0.978 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.9239, allocations: 8.031 kB / 0.978 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.9348, allocations: 2.063 MB / 0.98 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03349/0.9683, allocations: 16.43 MB / 0.9961 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001002/0.9694, allocations: 1.001 MB / 0.997 GB, free: 9.75 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005376/0.9747, allocations: 1.337 MB / 0.9983 GB, free: 8.418 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05048/1.025, allocations: 20.25 MB / 1.018 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005779/1.026, allocations: 39.7 kB / 1.018 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003971/1.03, allocations: 0.5433 MB / 1.019 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004017/1.03, allocations: 383.9 kB / 1.019 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03739/1.068, allocations: 18.16 MB / 1.037 GB, free: 488 kB / 0.795 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.8559/1.924, allocations: 86.59 MB / 1.121 GB, free: 142.1 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01991/1.944, allocations: 12.96 MB / 1.134 GB, free: 137.4 MB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01052/1.954, allocations: 7.4 MB / 1.141 GB, free: 133.6 MB / 0.8107 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.04879/2.003, allocations: 26.96 MB / 1.168 GB, free: 113.9 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009678/2.013, allocations: 6.061 MB / 1.173 GB, free: 109.3 MB / 0.8107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005704/2.018, allocations: 0.8459 MB / 1.174 GB, free: 108.7 MB / 0.8107 GB Notification: Performance of pre-optimization done (n=772): time 1.994e-05/2.018, allocations: 0 / 1.174 GB, free: 108.7 MB / 0.8107 GB Notification: Performance of matching and sorting (n=772): time 0.09651/2.115, allocations: 32.43 MB / 1.206 GB, free: 76.16 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/2.115, allocations: 165.8 kB / 1.206 GB, free: 75.98 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02277/2.138, allocations: 12.84 MB / 1.219 GB, free: 63.27 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.002482/2.14, allocations: 201.7 kB / 1.219 GB, free: 63.06 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.007878/2.148, allocations: 7.199 MB / 1.226 GB, free: 56.61 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.003856/2.152, allocations: 2.826 MB / 1.229 GB, free: 54.18 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007238/2.159, allocations: 2.325 MB / 1.231 GB, free: 51.84 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 4.181e-05/2.159, allocations: 305.1 kB / 1.231 GB, free: 51.54 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009752/2.169, allocations: 6.329 MB / 1.237 GB, free: 45.2 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01196/2.181, allocations: 9.596 MB / 1.247 GB, free: 34.27 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02148/2.203, allocations: 15.95 MB / 1.262 GB, free: 17.26 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000115/2.203, allocations: 28 kB / 1.262 GB, free: 17.23 MB / 0.8107 GB Notification: Performance of matching and sorting (n=1474) (initialization): time 0.03796/2.241, allocations: 18.94 MB / 1.281 GB, free: 14.78 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/2.241, allocations: 77.69 kB / 1.281 GB, free: 14.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000193/2.241, allocations: 96.84 kB / 1.281 GB, free: 14.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06455/2.306, allocations: 9.115 MB / 1.29 GB, free: 5.477 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01086/2.317, allocations: 2.456 MB / 1.292 GB, free: 3.18 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01387/2.33, allocations: 10.84 MB / 1.303 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0116/2.342, allocations: 0.7196 MB / 1.304 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002271/2.344, allocations: 0.5272 MB / 1.304 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02118/2.366, allocations: 11.73 MB / 1.316 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01513/2.381, allocations: 9.59 MB / 1.325 GB, free: 236 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0274/2.408, allocations: 15.94 MB / 1.341 GB, free: 15.23 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001031/2.408, allocations: 32 kB / 1.341 GB, free: 15.2 MB / 0.8888 GB Notification: Performance of matching and sorting (n=1474) (initialization_lambda0): time 0.04038/2.449, allocations: 18.93 MB / 1.359 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001399/2.449, allocations: 81.89 kB / 1.359 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001729/2.449, allocations: 100 kB / 1.359 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06373/2.513, allocations: 9.111 MB / 1.368 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01088/2.524, allocations: 2.455 MB / 1.371 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/2.538, allocations: 10.83 MB / 1.381 GB, free: 6.113 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01213/2.55, allocations: 0.718 MB / 1.382 GB, free: 5.402 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00253/2.553, allocations: 0.5155 MB / 1.382 GB, free: 4.887 MB / 0.92 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.004115/2.557, allocations: 0.8697 MB / 1.383 GB, free: 4.234 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005045/2.562, allocations: 1.227 MB / 1.384 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6679/3.23, allocations: 13.37 MB / 1.397 GB, free: 376.7 MB / 0.9202 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01847/3.249, allocations: 11.05 MB / 1.408 GB, free: 372.6 MB / 0.9202 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.337e-05/3.249, allocations: 1.281 kB / 1.408 GB, free: 372.6 MB / 0.9202 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006833/3.255, allocations: 2.827 MB / 1.411 GB, free: 371.7 MB / 0.9202 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003083/3.259, allocations: 162.9 kB / 1.411 GB, free: 371.6 MB / 0.9202 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007128/3.266, allocations: 461.7 kB / 1.412 GB, free: 371.5 MB / 0.9202 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/3.267, allocations: 452.5 kB / 1.412 GB, free: 371.4 MB / 0.9202 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02648/3.293, allocations: 14.34 MB / 1.426 GB, free: 366.7 MB / 0.9202 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02523/3.318, allocations: 18.98 MB / 1.445 GB, free: 358.2 MB / 0.9202 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006236/3.325, allocations: 5.517 MB / 1.45 GB, free: 353.5 MB / 0.9202 GB Notification: Performance of sorting global known variables: time 0.01404/3.339, allocations: 8.909 MB / 1.459 GB, free: 344.6 MB / 0.9202 GB Notification: Performance of Backend: time 7.31e-07/3.339, allocations: 0 / 1.459 GB, free: 344.6 MB / 0.9202 GB Notification: Performance of simCode: created initialization part: time 0.03951/3.378, allocations: 19.79 MB / 1.478 GB, free: 325.2 MB / 0.9202 GB Notification: Performance of SimCode: time 0.06191/3.44, allocations: 36.57 MB / 1.514 GB, free: 289.2 MB / 0.9202 GB Notification: Performance of Templates: time 0.6994/4.14, allocations: 333.1 MB / 1.839 GB, free: 320.9 MB / 0.9202 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics.pipe 2>&1)