Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0008037/0.0008037, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00118/0.001984, 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.0006937/0.0006937, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009448/0.001639, 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.916/0.916, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08767/1.004, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7404/0.7404, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2641/1.004, allocations: 49.12 MB / 448.6 MB, free: 5.922 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 450 MB, free: 4.582 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.219e-05, allocations: 3.859 kB / 450 MB, free: 4.578 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01888/0.0189, allocations: 21.12 MB / 471.1 MB, free: 15.45 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01716/0.03607, allocations: 8.556 MB / 479.7 MB, free: 6.98 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003499/0.03957, allocations: 154.7 kB / 479.8 MB, free: 6.828 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.04139, allocations: 0.6877 MB / 480.5 MB, free: 6.137 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005364/0.04675, allocations: 2.436 MB / 482.9 MB, free: 3.707 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004292/0.05105, allocations: 1.949 MB / 484.9 MB, free: 1.777 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00788/0.05893, allocations: 6.682 MB / 491.6 MB, free: 11.08 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003249/0.06217, allocations: 1.716 MB / 493.3 MB, free: 9.344 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006389/0.06856, allocations: 3.336 MB / 496.6 MB, free: 6.023 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002525/0.07109, allocations: 1.51 MB / 498.1 MB, free: 4.512 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005366/0.07163, allocations: 197 kB / 498.3 MB, free: 4.32 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.07301, allocations: 411.5 kB / 498.7 MB, free: 3.918 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004632/0.07348, allocations: 478.6 kB / 499.2 MB, free: 3.449 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001461/0.07494, allocations: 0.7213 MB / 499.9 MB, free: 2.727 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002497/0.07744, allocations: 1.791 MB / 0.4899 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.664e-05/0.07745, allocations: 3.938 kB / 0.4899 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.07746, allocations: 2.062 kB / 0.4899 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.458e-05/0.07755, allocations: 0 / 0.4899 GB, free: 0.9258 MB / 474.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.003589/0.08114, allocations: 3.038 MB / 0.4929 GB, free: 13.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.08118, allocations: 12.03 kB / 0.4929 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000614/0.08179, allocations: 325 kB / 0.4932 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.08361, allocations: 1.348 MB / 0.4946 GB, free: 12.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.498e-05/0.08366, allocations: 114.6 kB / 0.4947 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.0838, allocations: 148 kB / 0.4948 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.08496, allocations: 1.306 MB / 0.4961 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.08498, allocations: 5.438 kB / 0.4961 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.537e-05/0.08505, allocations: 56 kB / 0.4961 GB, free: 10.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.08516, allocations: 49.48 kB / 0.4962 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004525/0.08562, allocations: 388.9 kB / 0.4966 GB, free: 9.879 MB / 490.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.003902/0.08952, allocations: 4.228 MB / 0.5007 GB, free: 5.535 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.08983, allocations: 258.9 kB / 0.5009 GB, free: 5.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.08995, allocations: 117.1 kB / 0.501 GB, free: 5.152 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.09006, allocations: 32.48 kB / 0.5011 GB, free: 5.121 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.09009, allocations: 53.36 kB / 0.5011 GB, free: 5.062 MB / 490.7 MB Notification: Performance of pre-optimization done (n=59): time 2.605e-06/0.09009, allocations: 0 / 0.5011 GB, free: 5.062 MB / 490.7 MB Notification: Performance of matching and sorting (n=59): time 0.0007463/0.09083, allocations: 357.9 kB / 0.5015 GB, free: 4.711 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.09086, allocations: 63.91 kB / 0.5015 GB, free: 4.637 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008773/0.09174, allocations: 1.265 MB / 0.5028 GB, free: 3.367 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.09178, allocations: 41.7 kB / 0.5028 GB, free: 3.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.09211, allocations: 0.7222 MB / 0.5035 GB, free: 2.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.09223, allocations: 230 kB / 0.5037 GB, free: 2.363 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.0924, allocations: 234.6 kB / 0.5039 GB, free: 2.129 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.398e-05/0.09248, allocations: 349.9 kB / 0.5043 GB, free: 1.781 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.09266, allocations: 121.4 kB / 0.5044 GB, free: 1.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004131/0.09307, allocations: 0.7632 MB / 0.5051 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005903/0.09366, allocations: 0.6942 MB / 0.5058 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.09367, allocations: 0 / 0.5058 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.000765/0.09443, allocations: 0.6653 MB / 0.5065 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.09445, allocations: 18.03 kB / 0.5065 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.09447, allocations: 9.875 kB / 0.5065 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.09449, allocations: 16 kB / 0.5065 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000524/0.09501, allocations: 298.1 kB / 0.5068 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.09502, allocations: 19.94 kB / 0.5068 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005142/0.09554, allocations: 115.3 kB / 0.5069 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/0.09559, allocations: 36 kB / 0.507 GB, free: 14.7 MB / 0.4948 GB 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.0002648/0.09585, allocations: 188.9 kB / 0.5071 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.09598, allocations: 123.8 kB / 0.5073 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005052/0.09648, allocations: 439.5 kB / 0.5077 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.09649, allocations: 8 kB / 0.5077 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.09649, allocations: 0 / 0.5077 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002766/0.09677, allocations: 385.3 kB / 0.5081 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.09857, allocations: 1.299 MB / 0.5093 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.09858, allocations: 0.625 kB / 0.5093 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.09895, allocations: 178.9 kB / 0.5095 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.09924, allocations: 206.6 kB / 0.5097 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.09925, allocations: 4 kB / 0.5097 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.09927, allocations: 19.98 kB / 0.5097 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/0.09928, allocations: 11.94 kB / 0.5097 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.09928, allocations: 4.812 kB / 0.5097 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005743/0.09986, allocations: 0.6532 MB / 0.5104 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.09997, allocations: 20 kB / 0.5104 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.1003, allocations: 39.84 kB / 0.5104 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.1004, allocations: 56.34 kB / 0.5105 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/0.1004, allocations: 28.62 kB / 0.5105 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004791/0.1009, allocations: 0.6332 MB / 0.5111 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1009, allocations: 1.375 kB / 0.5111 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009152/0.1018, allocations: 0.5262 MB / 0.5116 GB, free: 9.77 MB / 0.4948 GB 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.0003106/0.1021, allocations: 169.2 kB / 0.5118 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005078/0.1026, allocations: 458.6 kB / 0.5122 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.034e-05/0.1027, allocations: 28.44 kB / 0.5123 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.1029, allocations: 231.6 kB / 0.5125 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003651/0.1066, allocations: 6.33 MB / 0.5187 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009106/0.1157, allocations: 2.742 MB / 0.5213 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.1162, allocations: 328 kB / 0.5217 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009621/0.1172, allocations: 284.4 kB / 0.5219 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/0.1183, allocations: 0.6305 MB / 0.5225 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of SimCode: time 2.275e-06/0.1183, allocations: 1.688 kB / 0.5225 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of Templates: time 0.03976/0.1581, allocations: 35 MB / 0.5567 GB, free: 11.3 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.092423999682069]