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.0012/0.0012, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001286/0.001286, allocations: 169 kB / 24.05 MB, free: 460 kB / 18.57 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.9311/0.9311, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.7494/0.7494, allocations: 154.9 MB / 415.9 MB, free: 280 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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.373e-06/1.373e-06, allocations: 0 / 0.5219 GB, free: 1.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.886e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01477/0.01479, allocations: 20.94 MB / 0.5424 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01164/0.02643, allocations: 8.273 MB / 0.5504 GB, free: 4.344 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00188/0.02831, allocations: 154.7 kB / 0.5506 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.02934, allocations: 0.6746 MB / 0.5512 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003315/0.03266, allocations: 2.443 MB / 0.5536 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.03543, allocations: 1.975 MB / 0.5556 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.005647/0.04107, allocations: 6.67 MB / 0.5621 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002096/0.04317, allocations: 1.659 MB / 0.5637 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004235/0.0474, allocations: 3.184 MB / 0.5668 GB, free: 3.562 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002123/0.04953, allocations: 1.586 MB / 0.5683 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002794/0.04981, allocations: 198.3 kB / 0.5685 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007268/0.05053, allocations: 399.5 kB / 0.5689 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003624/0.0509, allocations: 0.5835 MB / 0.5695 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0008214/0.05172, allocations: 0.8418 MB / 0.5703 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.05352, allocations: 1.911 MB / 0.5722 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.05352, allocations: 4 kB / 0.5722 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.323e-06/0.05352, allocations: 0.875 kB / 0.5722 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.83e-05/0.05356, allocations: 0 / 0.5722 GB, free: 14.04 MB / 0.5417 GB 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.00252/0.05608, allocations: 2.646 MB / 0.5748 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.05611, allocations: 9.719 kB / 0.5748 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005179/0.05663, allocations: 407 kB / 0.5752 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.05835, allocations: 1.768 MB / 0.5769 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.289e-05/0.05841, allocations: 109.1 kB / 0.577 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.05855, allocations: 152 kB / 0.5771 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.05966, allocations: 1.331 MB / 0.5784 GB, free: 7.367 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/0.05969, allocations: 7.938 kB / 0.5784 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.689e-05/0.05977, allocations: 56 kB / 0.5785 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.931e-05/0.05981, allocations: 41.34 kB / 0.5785 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004899/0.0603, allocations: 403.2 kB / 0.5789 GB, free: 6.859 MB / 0.5417 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.004109/0.0644, allocations: 5.736 MB / 0.5845 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.06471, allocations: 227.4 kB / 0.5847 GB, free: 0.7344 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.06483, allocations: 125.1 kB / 0.5849 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.06494, allocations: 45.53 kB / 0.5849 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.06496, allocations: 45.89 kB / 0.5849 GB, free: 0.5078 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=59): time 1.864e-06/0.06496, allocations: 1.438 kB / 0.5849 GB, free: 0.5078 MB / 0.5417 GB Notification: Performance of matching and sorting (n=59): time 0.0005857/0.06555, allocations: 499.9 kB / 0.5854 GB, free: 20 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.06559, allocations: 59.91 kB / 0.5855 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008897/0.06648, allocations: 1.338 MB / 0.5868 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.06652, allocations: 38.67 kB / 0.5868 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005046/0.06703, allocations: 1.037 MB / 0.5878 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.06715, allocations: 230.9 kB / 0.5881 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.06734, allocations: 240.3 kB / 0.5883 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.06749, allocations: 0.5204 MB / 0.5888 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.06766, allocations: 122.5 kB / 0.5889 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.06813, allocations: 0.8913 MB / 0.5898 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000566/0.0687, allocations: 0.7454 MB / 0.5905 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.06871, allocations: 4 kB / 0.5905 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0008302/0.06954, allocations: 0.8323 MB / 0.5913 GB, free: 9.445 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.06956, allocations: 8 kB / 0.5913 GB, free: 9.438 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.06957, allocations: 12 kB / 0.5913 GB, free: 9.426 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.06959, allocations: 19.98 kB / 0.5914 GB, free: 9.406 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/0.07005, allocations: 256.1 kB / 0.5916 GB, free: 9.156 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.07006, allocations: 23.92 kB / 0.5916 GB, free: 9.133 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000442/0.07051, allocations: 119.2 kB / 0.5917 GB, free: 9.016 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/0.07056, allocations: 43.98 kB / 0.5918 GB, free: 8.973 MB / 0.5573 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.0002459/0.0708, allocations: 228.1 kB / 0.592 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.07097, allocations: 198.8 kB / 0.5922 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000523/0.07149, allocations: 0.4919 MB / 0.5927 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.0715, allocations: 12 kB / 0.5927 GB, free: 8.047 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.0715, allocations: 0 / 0.5927 GB, free: 8.047 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003153/0.07181, allocations: 453.2 kB / 0.5931 GB, free: 7.559 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.07322, allocations: 1.503 MB / 0.5946 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.07322, allocations: 0 / 0.5946 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/0.07354, allocations: 156 kB / 0.5947 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.07354, allocations: 4 kB / 0.5947 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.07356, allocations: 19.98 kB / 0.5948 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.07357, allocations: 4 kB / 0.5948 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.07357, allocations: 0 / 0.5948 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006982/0.07427, allocations: 0.807 MB / 0.5955 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/0.07454, allocations: 262.7 kB / 0.5958 GB, free: 4.695 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.07465, allocations: 27.92 kB / 0.5958 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.075, allocations: 39.91 kB / 0.5959 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.537e-05/0.07508, allocations: 64.28 kB / 0.5959 GB, free: 4.566 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.07512, allocations: 31.97 kB / 0.596 GB, free: 4.535 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004915/0.07561, allocations: 0.7391 MB / 0.5967 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.07561, allocations: 0 / 0.5967 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007843/0.07639, allocations: 0.5223 MB / 0.5972 GB, free: 3.281 MB / 0.5573 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.000267/0.07666, allocations: 195 kB / 0.5974 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004732/0.07713, allocations: 462.9 kB / 0.5978 GB, free: 2.625 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.07714, allocations: 0 / 0.5978 GB, free: 2.625 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.07731, allocations: 180.2 kB / 0.598 GB, free: 2.445 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.07926, allocations: 0.9497 MB / 0.5989 GB, free: 1.555 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002925/0.08218, allocations: 2.794 MB / 0.6016 GB, free: 14.68 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.0824, allocations: 344.1 kB / 0.602 GB, free: 14.32 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005806/0.08299, allocations: 272.5 kB / 0.6022 GB, free: 14.05 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/0.08411, allocations: 0.7593 MB / 0.603 GB, free: 13.29 MB / 0.573 GB Notification: Performance of SimCode: time 7.21e-07/0.08411, allocations: 0 / 0.603 GB, free: 13.29 MB / 0.573 GB Notification: Performance of Templates: time 0.03502/0.1191, allocations: 34.02 MB / 0.6362 GB, free: 12.06 MB / 0.6042 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.326914825011045]