Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.HeatExchangerLocation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerLocation") translateModel(BuildingSystems.Fluid.Storage.Validation.HeatExchangerLocation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001066/0.001066, allocations: 106.5 kB / 16.41 MB, free: 6.508 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.0009611/0.0009611, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.283/1.283, 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.002095/0.002095, allocations: 285.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.929/0.929, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 103.8 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4002, allocations: 86.98 MB / 0.7671 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.HeatExchangerLocation): time 0.0991/0.4993, allocations: 109.6 MB / 0.8741 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03997/0.5393, allocations: 31.51 MB / 0.9048 GB, free: 6.398 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004468/0.5438, allocations: 151.1 kB / 0.905 GB, free: 6.25 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004206/0.5481, allocations: 1.758 MB / 0.9067 GB, free: 4.48 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01033/0.5585, allocations: 4.394 MB / 0.911 GB, free: 68 kB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007656/0.5661, allocations: 3.54 MB / 0.9145 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.7204/1.286, allocations: 56.43 MB / 0.9696 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03062/1.317, allocations: 28.06 MB / 0.997 GB, free: 22.09 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02997/1.347, allocations: 19.22 MB / 1.016 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02388/1.371, allocations: 16.7 MB / 1.032 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.007735/1.379, allocations: 2.772 MB / 1.035 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01623/1.395, allocations: 4.974 MB / 1.04 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0093/1.404, allocations: 6.433 MB / 1.046 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.02263/1.427, allocations: 12.92 MB / 1.058 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.04343/1.471, allocations: 39.6 MB / 1.097 GB, free: 468 kB / 0.7638 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.471, allocations: 0 / 1.097 GB, free: 468 kB / 0.7638 GB Notification: Performance of FrontEnd: time 1.283e-06/1.471, allocations: 0 / 1.097 GB, free: 468 kB / 0.7638 GB Notification: Performance of Transformations before backend: time 0.0009956/1.472, allocations: 0 / 1.097 GB, free: 468 kB / 0.7638 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.05662/1.528, allocations: 22.91 MB / 1.12 GB, free: 9.699 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/1.528, allocations: 8.031 kB / 1.12 GB, free: 9.691 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/1.539, allocations: 2.296 MB / 1.122 GB, free: 7.371 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03697/1.576, allocations: 19.27 MB / 1.141 GB, free: 4.805 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001042/1.577, allocations: 1.186 MB / 1.142 GB, free: 3.621 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004964/1.582, allocations: 1.582 MB / 1.143 GB, free: 2.047 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05615/1.638, allocations: 24.14 MB / 1.167 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007217/1.639, allocations: 57.7 kB / 1.167 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004557/1.643, allocations: 0.6511 MB / 1.168 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004538/1.644, allocations: 459 kB / 1.168 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04447/1.688, allocations: 21.23 MB / 1.189 GB, free: 3.145 MB / 0.8575 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.1525/1.841, allocations: 99.41 MB / 1.286 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02346/1.864, allocations: 14.86 MB / 1.3 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01428/1.879, allocations: 9.433 MB / 1.31 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6927/2.571, allocations: 28.18 MB / 1.337 GB, free: 385.7 MB / 0.9827 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.456e-05/2.571, allocations: 154.9 kB / 1.337 GB, free: 385.5 MB / 0.9827 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004458/2.576, allocations: 0.9219 MB / 1.338 GB, free: 385.4 MB / 0.9827 GB Notification: Performance of pre-optimization done (n=893): time 1.426e-05/2.576, allocations: 3.938 kB / 1.338 GB, free: 385.4 MB / 0.9827 GB Notification: Performance of matching and sorting (n=893): time 0.02903/2.605, allocations: 19.52 MB / 1.357 GB, free: 379.1 MB / 0.9827 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/2.605, allocations: 153 kB / 1.357 GB, free: 379 MB / 0.9827 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01839/2.623, allocations: 14.67 MB / 1.372 GB, free: 369 MB / 0.9827 GB Notification: Performance of collectPreVariables (initialization): time 0.002012/2.626, allocations: 213.7 kB / 1.372 GB, free: 368.8 MB / 0.9827 GB Notification: Performance of collectInitialEqns (initialization): time 0.004908/2.63, allocations: 8.236 MB / 1.38 GB, free: 360.6 MB / 0.9827 GB Notification: Performance of collectInitialBindings (initialization): time 0.003213/2.634, allocations: 3.108 MB / 1.383 GB, free: 357.5 MB / 0.9827 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00313/2.637, allocations: 2.562 MB / 1.385 GB, free: 355 MB / 0.9827 GB Notification: Performance of setup shared object (initialization): time 3.648e-05/2.637, allocations: 301.1 kB / 1.386 GB, free: 354.7 MB / 0.9827 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007947/2.645, allocations: 6.83 MB / 1.392 GB, free: 347.8 MB / 0.9827 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009032/2.654, allocations: 10.81 MB / 1.403 GB, free: 335.4 MB / 0.9827 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01769/2.672, allocations: 18.3 MB / 1.421 GB, free: 315.5 MB / 0.9827 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.425e-05/2.672, allocations: 32 kB / 1.421 GB, free: 315.5 MB / 0.9827 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 0.02664/2.698, allocations: 19.91 MB / 1.44 GB, free: 295.5 MB / 0.9827 GB Notification: Performance of prepare postOptimizeDAE: time 6.789e-05/2.698, allocations: 56 kB / 1.44 GB, free: 295.4 MB / 0.9827 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001136/2.698, allocations: 127.9 kB / 1.44 GB, free: 295.3 MB / 0.9827 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/2.7, allocations: 0.8028 MB / 1.441 GB, free: 294.5 MB / 0.9827 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01023/2.71, allocations: 2.976 MB / 1.444 GB, free: 291.5 MB / 0.9827 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006689/2.717, allocations: 8.389 MB / 1.452 GB, free: 282.8 MB / 0.9827 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01157/2.728, allocations: 0.7017 MB / 1.453 GB, free: 282.1 MB / 0.9827 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001784/2.73, allocations: 0.5936 MB / 1.454 GB, free: 281.5 MB / 0.9827 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01613/2.746, allocations: 13.08 MB / 1.466 GB, free: 268.4 MB / 0.9827 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009489/2.756, allocations: 10.81 MB / 1.477 GB, free: 255.9 MB / 0.9827 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0185/2.774, allocations: 18.29 MB / 1.495 GB, free: 235.8 MB / 0.9827 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.765e-05/2.775, allocations: 38.73 kB / 1.495 GB, free: 235.7 MB / 0.9827 GB Notification: Performance of matching and sorting (n=1659) (initialization_lambda0): time 0.02705/2.802, allocations: 19.88 MB / 1.514 GB, free: 215.8 MB / 0.9827 GB Notification: Performance of prepare postOptimizeDAE: time 5.841e-05/2.802, allocations: 59.94 kB / 1.514 GB, free: 215.7 MB / 0.9827 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/2.802, allocations: 127.8 kB / 1.514 GB, free: 215.6 MB / 0.9827 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/2.803, allocations: 0.7821 MB / 1.515 GB, free: 214.8 MB / 0.9827 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009825/2.813, allocations: 2.98 MB / 1.518 GB, free: 211.8 MB / 0.9827 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007139/2.82, allocations: 9.579 MB / 1.527 GB, free: 201.8 MB / 0.9827 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01106/2.831, allocations: 0.6862 MB / 1.528 GB, free: 201.1 MB / 0.9827 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001359/2.832, allocations: 0.5936 MB / 1.529 GB, free: 200.5 MB / 0.9827 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.00238/2.835, allocations: 0.9881 MB / 1.53 GB, free: 199.5 MB / 0.9827 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003299/2.838, allocations: 1.366 MB / 1.531 GB, free: 198.2 MB / 0.9827 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01948/2.858, allocations: 14.68 MB / 1.545 GB, free: 183.5 MB / 0.9827 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01355/2.871, allocations: 12.2 MB / 1.557 GB, free: 171.2 MB / 0.9827 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/2.871, allocations: 0 / 1.557 GB, free: 171.2 MB / 0.9827 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006297/2.878, allocations: 3.135 MB / 1.56 GB, free: 168 MB / 0.9827 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002455/2.88, allocations: 199.9 kB / 1.561 GB, free: 167.8 MB / 0.9827 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007376/2.887, allocations: 499 kB / 1.561 GB, free: 167.3 MB / 0.9827 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008971/2.888, allocations: 0.5296 MB / 1.562 GB, free: 166.8 MB / 0.9827 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02025/2.909, allocations: 14.26 MB / 1.575 GB, free: 152.6 MB / 0.9827 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02551/2.934, allocations: 22.17 MB / 1.597 GB, free: 130.4 MB / 0.9827 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006031/2.94, allocations: 6.33 MB / 1.603 GB, free: 124.1 MB / 0.9827 GB Notification: Performance of sorting global known variables: time 0.01368/2.954, allocations: 10.2 MB / 1.613 GB, free: 113.9 MB / 0.9827 GB Notification: Performance of Backend: time 9.22e-07/2.954, allocations: 7.938 kB / 1.613 GB, free: 113.9 MB / 0.9827 GB Notification: Performance of simCode: created initialization part: time 0.0344/2.988, allocations: 21.33 MB / 1.634 GB, free: 92.69 MB / 0.9827 GB Notification: Performance of SimCode: time 0.06472/3.053, allocations: 41.56 MB / 1.675 GB, free: 51.45 MB / 0.9827 GB Notification: Performance of Templates: time 0.919/3.972, allocations: 371 MB / 2.037 GB, free: 60.57 MB / 0.9827 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerLocation.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerLocation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerLocation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerLocation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerLocation.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerLocation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerLocation.pipe 2>&1)