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.00129/0.00129, allocations: 114.3 kB / 16.42 MB, free: 6.449 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.001461/0.001461, allocations: 188.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.298/1.298, allocations: 222.9 MB / 241 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.002122/0.002122, allocations: 289.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9297/0.9297, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00269/0.00269, allocations: 103.8 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4161, allocations: 86.98 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.HeatExchangerLocation): time 0.1019/0.518, allocations: 109.6 MB / 0.8741 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04206/0.5601, allocations: 31.51 MB / 0.9048 GB, free: 6.352 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004927/0.5651, allocations: 151.1 kB / 0.905 GB, free: 6.203 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00544/0.5706, allocations: 1.801 MB / 0.9067 GB, free: 4.391 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01284/0.5835, allocations: 4.628 MB / 0.9113 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.009174/0.5926, allocations: 3.559 MB / 0.9147 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.7664/1.359, allocations: 56.51 MB / 0.9699 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02974/1.389, allocations: 28.05 MB / 0.9973 GB, free: 22.11 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0332/1.422, allocations: 19.22 MB / 1.016 GB, free: 20.4 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02391/1.446, allocations: 16.71 MB / 1.032 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.007481/1.454, allocations: 2.771 MB / 1.035 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01609/1.47, allocations: 4.978 MB / 1.04 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.01029/1.48, allocations: 6.432 MB / 1.046 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.02521/1.505, allocations: 12.92 MB / 1.059 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.04934/1.555, allocations: 39.64 MB / 1.098 GB, free: 208 kB / 0.7638 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.555, allocations: 0 / 1.098 GB, free: 208 kB / 0.7638 GB Notification: Performance of FrontEnd: time 1.934e-06/1.555, allocations: 0 / 1.098 GB, free: 208 kB / 0.7638 GB Notification: Performance of Transformations before backend: time 0.001076/1.556, allocations: 0 / 1.098 GB, free: 208 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.06066/1.616, allocations: 22.91 MB / 1.12 GB, free: 9.445 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/1.616, allocations: 8.031 kB / 1.12 GB, free: 9.438 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/1.628, allocations: 2.296 MB / 1.122 GB, free: 7.117 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04479/1.673, allocations: 19.27 MB / 1.141 GB, free: 4.551 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001207/1.674, allocations: 1.185 MB / 1.142 GB, free: 3.371 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005632/1.68, allocations: 1.577 MB / 1.144 GB, free: 1.797 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05643/1.736, allocations: 24.13 MB / 1.167 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006968/1.737, allocations: 55.97 kB / 1.167 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00486/1.742, allocations: 0.6527 MB / 1.168 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004758/1.743, allocations: 466.5 kB / 1.168 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0451/1.788, allocations: 21.23 MB / 1.189 GB, free: 2.895 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.155/1.943, allocations: 99.41 MB / 1.286 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03976/1.983, allocations: 14.87 MB / 1.301 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02637/2.009, allocations: 9.426 MB / 1.31 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.69/2.699, allocations: 28.18 MB / 1.337 GB, free: 385.5 MB / 0.9827 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.422e-05/2.699, allocations: 154.7 kB / 1.338 GB, free: 385.4 MB / 0.9827 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004959/2.704, allocations: 0.9315 MB / 1.339 GB, free: 385.3 MB / 0.9827 GB Notification: Performance of pre-optimization done (n=893): time 1.823e-05/2.704, allocations: 0 / 1.339 GB, free: 385.3 MB / 0.9827 GB Notification: Performance of matching and sorting (n=893): time 0.03136/2.735, allocations: 19.52 MB / 1.358 GB, free: 378.8 MB / 0.9827 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/2.736, allocations: 145.1 kB / 1.358 GB, free: 378.7 MB / 0.9827 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02075/2.756, allocations: 14.66 MB / 1.372 GB, free: 368.7 MB / 0.9827 GB Notification: Performance of collectPreVariables (initialization): time 0.002307/2.759, allocations: 225.6 kB / 1.372 GB, free: 368.5 MB / 0.9827 GB Notification: Performance of collectInitialEqns (initialization): time 0.007614/2.766, allocations: 8.234 MB / 1.38 GB, free: 360.3 MB / 0.9827 GB Notification: Performance of collectInitialBindings (initialization): time 0.004409/2.771, allocations: 3.114 MB / 1.383 GB, free: 357.2 MB / 0.9827 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008202/2.779, allocations: 2.556 MB / 1.386 GB, free: 354.7 MB / 0.9827 GB Notification: Performance of setup shared object (initialization): time 3.703e-05/2.779, allocations: 301.1 kB / 1.386 GB, free: 354.4 MB / 0.9827 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01353/2.793, allocations: 6.833 MB / 1.393 GB, free: 347.5 MB / 0.9827 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01684/2.809, allocations: 10.81 MB / 1.403 GB, free: 335.1 MB / 0.9827 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02667/2.836, allocations: 18.3 MB / 1.421 GB, free: 315.2 MB / 0.9827 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001003/2.836, allocations: 36 kB / 1.421 GB, free: 315.2 MB / 0.9827 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 0.03272/2.869, allocations: 19.91 MB / 1.441 GB, free: 295.2 MB / 0.9827 GB Notification: Performance of prepare postOptimizeDAE: time 8.096e-05/2.869, allocations: 56 kB / 1.441 GB, free: 295.1 MB / 0.9827 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001374/2.869, allocations: 131.9 kB / 1.441 GB, free: 295 MB / 0.9827 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/2.871, allocations: 0.7974 MB / 1.442 GB, free: 294.2 MB / 0.9827 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01079/2.882, allocations: 2.98 MB / 1.445 GB, free: 291.2 MB / 0.9827 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007043/2.889, allocations: 8.382 MB / 1.453 GB, free: 282.5 MB / 0.9827 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01195/2.901, allocations: 0.7017 MB / 1.453 GB, free: 281.8 MB / 0.9827 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002159/2.903, allocations: 0.5984 MB / 1.454 GB, free: 281.2 MB / 0.9827 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01856/2.921, allocations: 13.09 MB / 1.467 GB, free: 268.1 MB / 0.9827 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01068/2.932, allocations: 10.81 MB / 1.477 GB, free: 255.6 MB / 0.9827 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01993/2.952, allocations: 18.29 MB / 1.495 GB, free: 235.5 MB / 0.9827 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.861e-05/2.952, allocations: 42.67 kB / 1.495 GB, free: 235.4 MB / 0.9827 GB Notification: Performance of matching and sorting (n=1659) (initialization_lambda0): time 0.03169/2.984, allocations: 19.88 MB / 1.515 GB, free: 215.4 MB / 0.9827 GB Notification: Performance of prepare postOptimizeDAE: time 6.449e-05/2.984, allocations: 63.94 kB / 1.515 GB, free: 215.4 MB / 0.9827 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/2.984, allocations: 120 kB / 1.515 GB, free: 215.3 MB / 0.9827 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/2.985, allocations: 0.7755 MB / 1.516 GB, free: 214.5 MB / 0.9827 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01113/2.996, allocations: 2.983 MB / 1.518 GB, free: 211.5 MB / 0.9827 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007429/3.004, allocations: 9.586 MB / 1.528 GB, free: 201.5 MB / 0.9827 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01189/3.016, allocations: 0.6824 MB / 1.529 GB, free: 200.8 MB / 0.9827 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002106/3.018, allocations: 0.5975 MB / 1.529 GB, free: 200.2 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.002676/3.021, allocations: 0.9841 MB / 1.53 GB, free: 199.2 MB / 0.9827 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003894/3.024, allocations: 1.374 MB / 1.531 GB, free: 197.9 MB / 0.9827 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01988/3.044, allocations: 14.69 MB / 1.546 GB, free: 183.2 MB / 0.9827 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01343/3.058, allocations: 12.2 MB / 1.558 GB, free: 170.8 MB / 0.9827 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/3.058, allocations: 0 / 1.558 GB, free: 170.8 MB / 0.9827 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007716/3.066, allocations: 3.132 MB / 1.561 GB, free: 167.7 MB / 0.9827 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002867/3.068, allocations: 188 kB / 1.561 GB, free: 167.5 MB / 0.9827 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008019/3.076, allocations: 499 kB / 1.561 GB, free: 167 MB / 0.9827 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009534/3.077, allocations: 0.5374 MB / 1.562 GB, free: 166.5 MB / 0.9827 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0211/3.099, allocations: 14.26 MB / 1.576 GB, free: 152.3 MB / 0.9827 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02463/3.123, allocations: 22.17 MB / 1.597 GB, free: 130.1 MB / 0.9827 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006253/3.129, allocations: 6.33 MB / 1.604 GB, free: 123.7 MB / 0.9827 GB Notification: Performance of sorting global known variables: time 0.01453/3.144, allocations: 10.2 MB / 1.614 GB, free: 113.6 MB / 0.9827 GB Notification: Performance of Backend: time 1.112e-06/3.144, allocations: 0 / 1.614 GB, free: 113.6 MB / 0.9827 GB Notification: Performance of simCode: created initialization part: time 0.03537/3.179, allocations: 21.33 MB / 1.634 GB, free: 92.39 MB / 0.9827 GB Notification: Performance of SimCode: time 0.07047/3.25, allocations: 41.57 MB / 1.675 GB, free: 51.12 MB / 0.9827 GB Notification: Performance of Templates: time 0.7551/4.005, allocations: 371 MB / 2.037 GB, free: 60.71 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)