Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Validation.HeatExchangerLocation.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Storage.Validation.HeatExchangerLocation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.HeatExchangerLocation") translateModel(IDEAS.Fluid.Storage.Validation.HeatExchangerLocation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.HeatExchangerLocation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 111.5 kB / 16.42 MB, free: 6.441 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.001243/0.001243, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.2/1.2, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7183/0.7183, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 62.31 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1187, allocations: 80.93 MB / 0.6653 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.HeatExchangerLocation): time 0.358/0.4767, allocations: 109.6 MB / 0.7723 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03042/0.5072, allocations: 31.47 MB / 0.803 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004301/0.5115, allocations: 146.9 kB / 0.8032 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003499/0.515, allocations: 1.814 MB / 0.8049 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01022/0.5253, allocations: 4.608 MB / 0.8094 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007446/0.5328, allocations: 3.547 MB / 0.8129 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0443/0.5771, allocations: 56.43 MB / 0.868 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03095/0.6081, allocations: 28.12 MB / 0.8955 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.031/0.6391, allocations: 19.26 MB / 0.9143 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02452/0.6637, allocations: 16.73 MB / 0.9306 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.006239/0.6699, allocations: 2.77 MB / 0.9333 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01451/0.6844, allocations: 4.98 MB / 0.9382 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.008111/0.6926, allocations: 6.424 MB / 0.9445 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.02019/0.7128, allocations: 12.91 MB / 0.9571 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0384/0.7512, allocations: 39.5 MB / 0.9957 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.7512, allocations: 0 / 0.9957 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.717e-06/0.7513, allocations: 4 kB / 0.9957 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0008369/0.7521, allocations: 0 / 0.9957 GB, free: 12.97 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4015 * Number of variables: 4015 Notification: Performance of Generate backend data structure: time 0.04871/0.8008, allocations: 22.9 MB / 1.018 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.8009, allocations: 13.11 kB / 1.018 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00832/0.8092, allocations: 2.3 MB / 1.02 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03579/0.845, allocations: 19.25 MB / 1.039 GB, free: 224 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001001/0.846, allocations: 1.183 MB / 1.04 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004493/0.8505, allocations: 1.585 MB / 1.042 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5622/1.413, allocations: 24.13 MB / 1.065 GB, free: 261.8 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004182/1.413, allocations: 50.61 kB / 1.065 GB, free: 261.8 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002184/1.415, allocations: 0.6512 MB / 1.066 GB, free: 261.3 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006065/1.416, allocations: 467 kB / 1.066 GB, free: 261.3 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03543/1.451, allocations: 21.23 MB / 1.087 GB, free: 253 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 removeSimpleEquations (simulation): time 0.1129/1.564, allocations: 99.39 MB / 1.184 GB, free: 164.5 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01636/1.581, allocations: 14.86 MB / 1.199 GB, free: 149.8 MB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009873/1.591, allocations: 9.418 MB / 1.208 GB, free: 140.4 MB / 0.8107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04185/1.633, allocations: 28.19 MB / 1.236 GB, free: 111.5 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.259e-05/1.633, allocations: 146.6 kB / 1.236 GB, free: 111.3 MB / 0.8107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004547/1.637, allocations: 0.9296 MB / 1.237 GB, free: 110.4 MB / 0.8107 GB Notification: Performance of pre-optimization done (n=893): time 1.612e-05/1.637, allocations: 0 / 1.237 GB, free: 110.4 MB / 0.8107 GB Notification: Performance of matching and sorting (n=893): time 0.02726/1.664, allocations: 19.52 MB / 1.256 GB, free: 90.78 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/1.665, allocations: 142.4 kB / 1.256 GB, free: 90.62 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02001/1.685, allocations: 14.67 MB / 1.27 GB, free: 76 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001366/1.686, allocations: 217.7 kB / 1.27 GB, free: 75.78 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.005058/1.691, allocations: 8.238 MB / 1.278 GB, free: 67.52 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.00261/1.694, allocations: 3.1 MB / 1.281 GB, free: 64.37 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004198/1.698, allocations: 2.564 MB / 1.284 GB, free: 61.79 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 3.119e-05/1.698, allocations: 301.1 kB / 1.284 GB, free: 61.5 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007946/1.706, allocations: 6.83 MB / 1.291 GB, free: 54.64 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009329/1.715, allocations: 10.81 MB / 1.301 GB, free: 42.07 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01761/1.733, allocations: 18.3 MB / 1.319 GB, free: 21.97 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.986e-05/1.733, allocations: 36 kB / 1.319 GB, free: 21.93 MB / 0.8107 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 0.02594/1.759, allocations: 19.91 MB / 1.339 GB, free: 1.926 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 6.941e-05/1.759, allocations: 56 kB / 1.339 GB, free: 1.871 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/1.759, allocations: 128.9 kB / 1.339 GB, free: 1.746 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/1.76, allocations: 0.7988 MB / 1.34 GB, free: 0.9375 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01009/1.771, allocations: 2.987 MB / 1.343 GB, free: 13.95 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008397/1.779, allocations: 8.393 MB / 1.351 GB, free: 5.254 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01054/1.79, allocations: 0.6939 MB / 1.351 GB, free: 4.559 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001447/1.791, allocations: 0.5936 MB / 1.352 GB, free: 3.965 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01907/1.81, allocations: 13.09 MB / 1.365 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.5503/2.36, allocations: 10.8 MB / 1.375 GB, free: 267.9 MB / 0.842 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02309/2.384, allocations: 18.29 MB / 1.393 GB, free: 260.1 MB / 0.842 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001746/2.384, allocations: 35.91 kB / 1.393 GB, free: 260.1 MB / 0.842 GB Notification: Performance of matching and sorting (n=1659) (initialization_lambda0): time 0.03046/2.414, allocations: 19.88 MB / 1.413 GB, free: 253.1 MB / 0.842 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/2.414, allocations: 57.59 kB / 1.413 GB, free: 253.1 MB / 0.842 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001744/2.415, allocations: 123 kB / 1.413 GB, free: 253.1 MB / 0.842 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/2.416, allocations: 0.7853 MB / 1.414 GB, free: 253 MB / 0.842 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01057/2.426, allocations: 2.982 MB / 1.417 GB, free: 252.7 MB / 0.842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008097/2.435, allocations: 9.578 MB / 1.426 GB, free: 246 MB / 0.842 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01171/2.446, allocations: 0.6808 MB / 1.427 GB, free: 245.8 MB / 0.842 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002161/2.448, allocations: 0.5946 MB / 1.427 GB, free: 245.7 MB / 0.842 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 561 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1607): * Single equations (assignments): 1604 * Array equations: 0 * Algorithm blocks: 0 * 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,24,100.0%), (1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.003512/2.452, allocations: 0.9916 MB / 1.428 GB, free: 244.9 MB / 0.842 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004201/2.456, allocations: 1.365 MB / 1.429 GB, free: 244.9 MB / 0.842 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02125/2.477, allocations: 14.67 MB / 1.444 GB, free: 239.3 MB / 0.842 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01346/2.491, allocations: 12.21 MB / 1.456 GB, free: 232.3 MB / 0.842 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/2.491, allocations: 4 kB / 1.456 GB, free: 232.3 MB / 0.842 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007253/2.498, allocations: 3.137 MB / 1.459 GB, free: 229.5 MB / 0.842 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002458/2.501, allocations: 186.1 kB / 1.459 GB, free: 229.3 MB / 0.842 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007144/2.508, allocations: 495.2 kB / 1.459 GB, free: 229 MB / 0.842 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000878/2.509, allocations: 0.5303 MB / 1.46 GB, free: 228.7 MB / 0.842 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01878/2.528, allocations: 14.27 MB / 1.474 GB, free: 214.5 MB / 0.842 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02258/2.55, allocations: 22.16 MB / 1.496 GB, free: 192.3 MB / 0.842 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005626/2.556, allocations: 6.334 MB / 1.502 GB, free: 186 MB / 0.842 GB Notification: Performance of sorting global known variables: time 0.01258/2.568, allocations: 10.2 MB / 1.512 GB, free: 175.8 MB / 0.842 GB Notification: Performance of Backend: time 9.52e-07/2.568, allocations: 0 / 1.512 GB, free: 175.8 MB / 0.842 GB Notification: Performance of simCode: created initialization part: time 0.03174/2.6, allocations: 21.32 MB / 1.532 GB, free: 154.6 MB / 0.842 GB Notification: Performance of SimCode: time 0.06314/2.663, allocations: 41.57 MB / 1.573 GB, free: 113.4 MB / 0.842 GB Notification: Performance of Templates: time 0.6826/3.346, allocations: 370.8 MB / 1.935 GB, free: 70.26 MB / 0.8577 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.HeatExchangerLocation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.HeatExchangerLocation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.HeatExchangerLocation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.HeatExchangerLocation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.HeatExchangerLocation.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Validation.HeatExchangerLocation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.HeatExchangerLocation.pipe 2>&1)