Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001476/0.002551, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007618/0.0007618, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009466/0.001708, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8821/0.8821, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08535/0.9674, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002022/0.002022, allocations: 242.2 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001768/0.00379, allocations: 475.6 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7247/0.7247, allocations: 138.7 MB / 384.3 MB, free: 356 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07007/0.7948, allocations: 42.4 MB / 426.7 MB, free: 5.828 MB / 410.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 428.1 MB, free: 4.48 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.546e-06/9.749e-06, allocations: 2.312 kB / 428.1 MB, free: 4.477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.1992/0.1992, allocations: 20.98 MB / 449.1 MB, free: 8.793 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01509/0.2143, allocations: 8.503 MB / 457.6 MB, free: 2.496 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005299/0.2196, allocations: 148.1 kB / 457.7 MB, free: 2.418 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.2213, allocations: 0.6935 MB / 458.4 MB, free: 1.82 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005303/0.2266, allocations: 2.435 MB / 460.8 MB, free: 15.85 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003287/0.2299, allocations: 1.898 MB / 462.7 MB, free: 14.01 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007307/0.2372, allocations: 6.648 MB / 469.4 MB, free: 7.352 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002876/0.2401, allocations: 1.695 MB / 471.1 MB, free: 5.66 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00502/0.2451, allocations: 3.321 MB / 474.4 MB, free: 2.367 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/0.2469, allocations: 1.531 MB / 475.9 MB, free: 0.8359 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002181/0.2471, allocations: 192 kB / 476.1 MB, free: 0.6484 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008248/0.2479, allocations: 412.8 kB / 476.5 MB, free: 252 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003304/0.2483, allocations: 478.1 kB / 477 MB, free: 15.78 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006697/0.2489, allocations: 0.7174 MB / 477.7 MB, free: 15.06 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.2508, allocations: 1.788 MB / 479.5 MB, free: 13.27 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.494e-05/0.2508, allocations: 0 / 479.5 MB, free: 13.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2508, allocations: 0 / 479.5 MB, free: 13.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.743e-05/0.2508, allocations: 4 kB / 479.5 MB, free: 13.26 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.002574/0.2534, allocations: 3.026 MB / 482.5 MB, free: 10.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.2534, allocations: 8.75 kB / 482.5 MB, free: 10.17 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004429/0.2538, allocations: 328.3 kB / 482.8 MB, free: 9.852 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.2554, allocations: 1.308 MB / 484.2 MB, free: 8.516 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.372e-05/0.2554, allocations: 102.7 kB / 484.3 MB, free: 8.414 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.2556, allocations: 148 kB / 484.4 MB, free: 8.27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.2567, allocations: 1.315 MB / 485.7 MB, free: 6.801 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.2567, allocations: 7.984 kB / 485.7 MB, free: 6.793 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.58e-05/0.2568, allocations: 57.31 kB / 485.8 MB, free: 6.738 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/0.2568, allocations: 47.92 kB / 485.8 MB, free: 6.691 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.2573, allocations: 381.6 kB / 486.2 MB, free: 6.305 MB / 458.7 MB 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.003583/0.2609, allocations: 4.222 MB / 490.4 MB, free: 1.965 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.2612, allocations: 267.7 kB / 490.7 MB, free: 1.699 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.2613, allocations: 113.9 kB / 490.8 MB, free: 1.586 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.2614, allocations: 37.89 kB / 490.8 MB, free: 1.551 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.2614, allocations: 47 kB / 490.9 MB, free: 1.496 MB / 458.7 MB Notification: Performance of pre-optimization done (n=59): time 2.785e-06/0.2614, allocations: 0 / 490.9 MB, free: 1.496 MB / 458.7 MB Notification: Performance of matching and sorting (n=59): time 0.0004429/0.2619, allocations: 362.7 kB / 491.2 MB, free: 1.141 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.2619, allocations: 55.91 kB / 491.3 MB, free: 1.074 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008071/0.2627, allocations: 1.256 MB / 492.5 MB, free: 15.81 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.2627, allocations: 46.3 kB / 492.6 MB, free: 15.76 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.2631, allocations: 0.7242 MB / 493.3 MB, free: 15.03 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.2632, allocations: 234 kB / 493.5 MB, free: 14.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.2633, allocations: 223.9 kB / 493.8 MB, free: 14.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.316e-05/0.2634, allocations: 353.8 kB / 494.1 MB, free: 14.22 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.2636, allocations: 121.4 kB / 494.2 MB, free: 14.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004013/0.264, allocations: 0.753 MB / 495 MB, free: 13.13 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008018/0.2648, allocations: 0.7001 MB / 495.7 MB, free: 12.31 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.2648, allocations: 4.938 kB / 495.7 MB, free: 12.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0006454/0.2654, allocations: 0.6653 MB / 496.3 MB, free: 11.64 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.2655, allocations: 13.09 kB / 496.4 MB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.2655, allocations: 8 kB / 496.4 MB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2655, allocations: 16 kB / 496.4 MB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/0.266, allocations: 299.5 kB / 496.7 MB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.266, allocations: 23.88 kB / 496.7 MB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004158/0.2664, allocations: 121.1 kB / 496.8 MB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/0.2664, allocations: 44 kB / 496.9 MB, free: 11.13 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002072/0.2666, allocations: 177 kB / 497 MB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.2668, allocations: 125.9 kB / 497.2 MB, free: 10.83 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004625/0.2672, allocations: 436.6 kB / 497.6 MB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.2672, allocations: 8 kB / 497.6 MB, free: 10.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.2672, allocations: 0.9375 kB / 497.6 MB, free: 10.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002447/0.2675, allocations: 389.2 kB / 498 MB, free: 9.973 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.2688, allocations: 1.296 MB / 499.3 MB, free: 8.617 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.2688, allocations: 0 / 499.3 MB, free: 8.617 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.2692, allocations: 173.9 kB / 499.4 MB, free: 8.449 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002569/0.2695, allocations: 211.8 kB / 499.6 MB, free: 8.242 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.2695, allocations: 8.781 kB / 499.6 MB, free: 8.234 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.2695, allocations: 15.98 kB / 499.7 MB, free: 8.219 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.2695, allocations: 5.031 kB / 499.7 MB, free: 8.215 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.2695, allocations: 7.938 kB / 499.7 MB, free: 8.207 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/0.2701, allocations: 0.6467 MB / 0.4886 GB, free: 7.516 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.282e-05/0.2701, allocations: 17.89 kB / 0.4886 GB, free: 7.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.2705, allocations: 39.25 kB / 0.4887 GB, free: 7.465 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.2706, allocations: 56.28 kB / 0.4887 GB, free: 7.406 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.2706, allocations: 31.97 kB / 0.4887 GB, free: 7.375 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004411/0.271, allocations: 0.6256 MB / 0.4893 GB, free: 6.754 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.271, allocations: 0 / 0.4893 GB, free: 6.754 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008382/0.2719, allocations: 0.5244 MB / 0.4899 GB, free: 6.23 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003113/0.2722, allocations: 174.9 kB / 0.49 GB, free: 6.055 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004742/0.2727, allocations: 459.2 kB / 0.4905 GB, free: 5.621 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-05/0.2727, allocations: 28.48 kB / 0.4905 GB, free: 5.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000501/0.2732, allocations: 224.6 kB / 0.4907 GB, free: 5.371 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/0.2764, allocations: 6.32 MB / 0.4969 GB, free: 13.99 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008973/0.2854, allocations: 2.761 MB / 0.4996 GB, free: 11.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.2856, allocations: 320 kB / 0.4999 GB, free: 10.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007417/0.2864, allocations: 283.2 kB / 0.5001 GB, free: 10.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/0.2874, allocations: 0.6218 MB / 0.5008 GB, free: 9.941 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/0.2874, allocations: 4 kB / 0.5008 GB, free: 9.938 MB / 490.7 MB Notification: Performance of Templates: time 0.04054/0.328, allocations: 35.03 MB / 0.535 GB, free: 7.918 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9672099417075515]