Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics") translateModel(BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001287/0.001287, allocations: 114.8 kB / 16.42 MB, free: 6.496 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.001112/0.001112, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002144/0.002144, allocations: 289.7 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.934/0.934, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 96.27 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3709, allocations: 86.97 MB / 0.767 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.1173/0.4882, allocations: 112.1 MB / 0.8765 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03969/0.5279, allocations: 32.04 MB / 0.9078 GB, free: 3.297 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004771/0.5327, allocations: 151.1 kB / 0.9079 GB, free: 3.148 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004824/0.5376, allocations: 1.855 MB / 0.9097 GB, free: 1.281 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01256/0.5502, allocations: 4.843 MB / 0.9145 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008733/0.559, allocations: 3.6 MB / 0.918 GB, free: 8.832 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.7188/1.278, allocations: 47.8 MB / 0.9646 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02433/1.302, allocations: 23.79 MB / 0.9879 GB, free: 22.96 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02636/1.329, allocations: 16.37 MB / 1.004 GB, free: 21.66 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02103/1.35, allocations: 14.04 MB / 1.018 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.006859/1.356, allocations: 2.431 MB / 1.02 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01449/1.371, allocations: 4.75 MB / 1.025 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.008598/1.38, allocations: 5.5 MB / 1.03 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.01953/1.399, allocations: 11.09 MB / 1.041 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.03767/1.437, allocations: 34.62 MB / 1.075 GB, free: 5.246 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.437, allocations: 0 / 1.075 GB, free: 5.246 MB / 0.7482 GB Notification: Performance of FrontEnd: time 1.583e-06/1.437, allocations: 7 kB / 1.075 GB, free: 5.242 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 0.0008689/1.438, allocations: 0 / 1.075 GB, free: 5.242 MB / 0.7482 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.05225/1.49, allocations: 19.84 MB / 1.094 GB, free: 1.512 MB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/1.49, allocations: 12.03 kB / 1.094 GB, free: 1.5 MB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009956/1.5, allocations: 1.972 MB / 1.096 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03538/1.535, allocations: 16.35 MB / 1.112 GB, free: 15.76 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009426/1.536, allocations: 1.005 MB / 1.113 GB, free: 14.76 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004444/1.541, allocations: 1.338 MB / 1.114 GB, free: 13.43 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04554/1.586, allocations: 20.25 MB / 1.134 GB, free: 8.695 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006233/1.587, allocations: 44.48 kB / 1.134 GB, free: 8.668 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003984/1.591, allocations: 0.5445 MB / 1.135 GB, free: 8.129 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003798/1.592, allocations: 386.3 kB / 1.135 GB, free: 7.758 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03695/1.628, allocations: 18.15 MB / 1.153 GB, free: 5.723 MB / 0.8263 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.761, allocations: 86.45 MB / 1.237 GB, free: 11.93 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02031/1.782, allocations: 12.97 MB / 1.25 GB, free: 15.07 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0118/1.794, allocations: 7.401 MB / 1.257 GB, free: 7.66 MB / 0.9357 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.05463/1.848, allocations: 26.92 MB / 1.283 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01153/1.86, allocations: 6.061 MB / 1.289 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005631/1.866, allocations: 0.818 MB / 1.29 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=772): time 1.782e-05/1.866, allocations: 4 kB / 1.29 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of matching and sorting (n=772): time 0.7582/2.624, allocations: 32.36 MB / 1.322 GB, free: 395.2 MB / 0.9827 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/2.624, allocations: 155.6 kB / 1.322 GB, free: 395.1 MB / 0.9827 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02032/2.644, allocations: 12.83 MB / 1.334 GB, free: 390.8 MB / 0.9827 GB Notification: Performance of collectPreVariables (initialization): time 0.001972/2.646, allocations: 201.4 kB / 1.334 GB, free: 390.7 MB / 0.9827 GB Notification: Performance of collectInitialEqns (initialization): time 0.006564/2.653, allocations: 7.032 MB / 1.341 GB, free: 386.3 MB / 0.9827 GB Notification: Performance of collectInitialBindings (initialization): time 0.003212/2.656, allocations: 2.696 MB / 1.344 GB, free: 384.3 MB / 0.9827 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00382/2.66, allocations: 2.311 MB / 1.346 GB, free: 383.2 MB / 0.9827 GB Notification: Performance of setup shared object (initialization): time 4.182e-05/2.66, allocations: 308.6 kB / 1.346 GB, free: 382.9 MB / 0.9827 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008459/2.668, allocations: 6.336 MB / 1.353 GB, free: 380.6 MB / 0.9827 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01087/2.679, allocations: 9.6 MB / 1.362 GB, free: 374.4 MB / 0.9827 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0196/2.699, allocations: 15.95 MB / 1.378 GB, free: 362.6 MB / 0.9827 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.008e-05/2.699, allocations: 28 kB / 1.378 GB, free: 362.6 MB / 0.9827 GB Notification: Performance of matching and sorting (n=1474) (initialization): time 0.03442/2.733, allocations: 18.89 MB / 1.396 GB, free: 343.7 MB / 0.9827 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/2.734, allocations: 77.36 kB / 1.396 GB, free: 343.6 MB / 0.9827 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001422/2.734, allocations: 96 kB / 1.396 GB, free: 343.5 MB / 0.9827 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06159/2.795, allocations: 9.117 MB / 1.405 GB, free: 334.3 MB / 0.9827 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009962/2.805, allocations: 2.453 MB / 1.408 GB, free: 331.9 MB / 0.9827 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/2.817, allocations: 10.81 MB / 1.418 GB, free: 320.8 MB / 0.9827 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01189/2.829, allocations: 0.7254 MB / 1.419 GB, free: 320.1 MB / 0.9827 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002437/2.831, allocations: 0.522 MB / 1.419 GB, free: 319.5 MB / 0.9827 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01887/2.85, allocations: 11.73 MB / 1.431 GB, free: 307.8 MB / 0.9827 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0122/2.862, allocations: 9.59 MB / 1.44 GB, free: 296.8 MB / 0.9827 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02042/2.883, allocations: 15.94 MB / 1.456 GB, free: 279.4 MB / 0.9827 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.765e-05/2.883, allocations: 32 kB / 1.456 GB, free: 279.4 MB / 0.9827 GB Notification: Performance of matching and sorting (n=1474) (initialization_lambda0): time 0.03482/2.918, allocations: 18.87 MB / 1.474 GB, free: 260.4 MB / 0.9827 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/2.918, allocations: 77.69 kB / 1.474 GB, free: 260.3 MB / 0.9827 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001263/2.918, allocations: 104.2 kB / 1.474 GB, free: 260.2 MB / 0.9827 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06073/2.979, allocations: 9.121 MB / 1.483 GB, free: 251.1 MB / 0.9827 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009826/2.989, allocations: 2.449 MB / 1.486 GB, free: 248.6 MB / 0.9827 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/3, allocations: 10.81 MB / 1.496 GB, free: 237.5 MB / 0.9827 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01241/3.012, allocations: 0.7179 MB / 1.497 GB, free: 236.8 MB / 0.9827 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002504/3.015, allocations: 0.5155 MB / 1.497 GB, free: 236.3 MB / 0.9827 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.004121/3.019, allocations: 0.869 MB / 1.498 GB, free: 235.4 MB / 0.9827 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004305/3.023, allocations: 1.176 MB / 1.499 GB, free: 234.2 MB / 0.9827 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02105/3.044, allocations: 13.38 MB / 1.512 GB, free: 220.8 MB / 0.9827 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01479/3.059, allocations: 11.05 MB / 1.523 GB, free: 209.7 MB / 0.9827 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-05/3.059, allocations: 0 / 1.523 GB, free: 209.7 MB / 0.9827 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006676/3.066, allocations: 2.767 MB / 1.526 GB, free: 206.9 MB / 0.9827 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003074/3.069, allocations: 148 kB / 1.526 GB, free: 206.8 MB / 0.9827 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008359/3.078, allocations: 468.9 kB / 1.527 GB, free: 206.3 MB / 0.9827 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001044/3.079, allocations: 465.4 kB / 1.527 GB, free: 205.8 MB / 0.9827 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02655/3.105, allocations: 14.32 MB / 1.541 GB, free: 191.6 MB / 0.9827 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02647/3.132, allocations: 18.92 MB / 1.559 GB, free: 172.6 MB / 0.9827 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006458/3.138, allocations: 5.514 MB / 1.565 GB, free: 167.1 MB / 0.9827 GB Notification: Performance of sorting global known variables: time 0.01456/3.153, allocations: 8.911 MB / 1.574 GB, free: 158.2 MB / 0.9827 GB Notification: Performance of Backend: time 7.51e-07/3.153, allocations: 0 / 1.574 GB, free: 158.2 MB / 0.9827 GB Notification: Performance of simCode: created initialization part: time 0.04342/3.196, allocations: 19.78 MB / 1.593 GB, free: 138.6 MB / 0.9827 GB Notification: Performance of SimCode: time 0.06878/3.265, allocations: 36.05 MB / 1.628 GB, free: 102.7 MB / 0.9827 GB Notification: Performance of Templates: time 0.728/3.993, allocations: 333.3 MB / 1.954 GB, free: 156.6 MB / 0.9827 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics.pipe 2>&1)