Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001751/0.001751, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.002086/0.002086, allocations: 161 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.538/1.538, allocations: 177.2 MB / 203.4 MB, free: 8.902 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8462/0.8462, allocations: 101.3 MB / 361.1 MB, free: 8.766 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002401/0.002401, allocations: 71.89 kB / 0.5356 GB, free: 12.65 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 FrontEnd - Absyn->SCode: time 0.1603/0.1627, allocations: 85.88 MB / 0.6195 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3412/0.5039, allocations: 38.38 MB / 0.657 GB, free: 6.895 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01366/0.5176, allocations: 9.636 MB / 0.6664 GB, free: 1.598 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/0.5197, allocations: 79.09 kB / 0.6665 GB, free: 1.555 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.5219, allocations: 0.6439 MB / 0.6671 GB, free: 1.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006073/0.528, allocations: 2.003 MB / 0.6691 GB, free: 16 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003603/0.5316, allocations: 1.208 MB / 0.6702 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0056/0.5372, allocations: 3.443 MB / 0.6736 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/0.5388, allocations: 0.8142 MB / 0.6744 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003281/0.5421, allocations: 1.306 MB / 0.6757 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.5437, allocations: 0.8932 MB / 0.6765 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.5438, allocations: 103.9 kB / 0.6766 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/0.5459, allocations: 0.7145 MB / 0.6773 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003587/0.5463, allocations: 289.4 kB / 0.6776 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007032/0.547, allocations: 0.5143 MB / 0.6781 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003115/0.5501, allocations: 1.962 MB / 0.68 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5501, allocations: 0 / 0.68 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5501, allocations: 0 / 0.68 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.175e-05/0.5501, allocations: 0 / 0.68 GB, free: 10.88 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002773/0.5529, allocations: 1.478 MB / 0.6815 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.5529, allocations: 13.88 kB / 0.6815 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003917/0.5533, allocations: 137.1 kB / 0.6816 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/0.5553, allocations: 1.045 MB / 0.6826 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.291e-05/0.5553, allocations: 59.44 kB / 0.6827 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.5555, allocations: 79.56 kB / 0.6828 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.557, allocations: 0.9448 MB / 0.6837 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.557, allocations: 5.25 kB / 0.6837 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/0.5571, allocations: 26.81 kB / 0.6837 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/0.5571, allocations: 23.06 kB / 0.6837 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.5583, allocations: 0.5685 MB / 0.6843 GB, free: 8.375 MB / 0.5606 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.004235/0.5625, allocations: 2.601 MB / 0.6868 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006297/0.5631, allocations: 245.9 kB / 0.6871 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/0.5635, allocations: 171.8 kB / 0.6872 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.5638, allocations: 63.44 kB / 0.6873 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.5638, allocations: 37.16 kB / 0.6873 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/0.5638, allocations: 1.406 kB / 0.6873 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.00129/0.5651, allocations: 0.4993 MB / 0.6878 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.5651, allocations: 54.53 kB / 0.6879 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.5662, allocations: 0.8093 MB / 0.6887 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.391e-05/0.5663, allocations: 40.64 kB / 0.6887 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005353/0.5669, allocations: 0.509 MB / 0.6892 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.567, allocations: 118.1 kB / 0.6893 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.5672, allocations: 112.1 kB / 0.6894 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.5673, allocations: 335.6 kB / 0.6897 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.5677, allocations: 162.7 kB / 0.6899 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006641/0.5684, allocations: 0.4973 MB / 0.6904 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009334/0.5693, allocations: 0.5065 MB / 0.6909 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.5693, allocations: 2.156 kB / 0.6909 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001297/0.5706, allocations: 0.61 MB / 0.6915 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.5706, allocations: 6.219 kB / 0.6915 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.5706, allocations: 10.92 kB / 0.6915 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.5707, allocations: 10.97 kB / 0.6915 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004467/0.5711, allocations: 122 kB / 0.6916 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/0.5711, allocations: 12.72 kB / 0.6916 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006063/0.5717, allocations: 67.12 kB / 0.6917 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.185e-05/0.5718, allocations: 24.41 kB / 0.6917 GB, free: 3.375 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.000395/0.5722, allocations: 278.5 kB / 0.692 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.5723, allocations: 88.31 kB / 0.6921 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.5734, allocations: 476.1 kB / 0.6925 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.5734, allocations: 8.406 kB / 0.6925 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.5734, allocations: 7.922 kB / 0.6925 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008158/0.5742, allocations: 464.6 kB / 0.693 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002311/0.5765, allocations: 1.155 MB / 0.6941 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.5765, allocations: 5.125 kB / 0.6941 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.5769, allocations: 76.52 kB / 0.6942 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.5769, allocations: 10.16 kB / 0.6942 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.5769, allocations: 15.8 kB / 0.6942 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.5769, allocations: 3.156 kB / 0.6942 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.5769, allocations: 1.469 kB / 0.6942 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.5784, allocations: 0.7606 MB / 0.695 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/0.5788, allocations: 139 kB / 0.6951 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.5789, allocations: 12.31 kB / 0.6951 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.5793, allocations: 30.28 kB / 0.6951 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/0.5794, allocations: 26.14 kB / 0.6952 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/0.5794, allocations: 16.8 kB / 0.6952 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007532/0.5802, allocations: 0.547 MB / 0.6957 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5802, allocations: 1.062 kB / 0.6957 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001246/0.5814, allocations: 359.4 kB / 0.696 GB, free: 0.6562 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007303/0.5822, allocations: 369.5 kB / 0.6964 GB, free: 460 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009967/0.5832, allocations: 411 kB / 0.6968 GB, free: 276 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5832, allocations: 1.375 kB / 0.6968 GB, free: 276 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.5836, allocations: 180.8 kB / 0.697 GB, free: 196 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/0.5857, allocations: 482.2 kB / 0.6974 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.5883, allocations: 1.591 MB / 0.699 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.5887, allocations: 453.4 kB / 0.6994 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006555/0.5894, allocations: 177 kB / 0.6996 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.5896, allocations: 76.64 kB / 0.6997 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.5896, allocations: 0 / 0.6997 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of Templates: time 0.03389/0.6235, allocations: 18.71 MB / 0.7179 GB, free: 15.31 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.541558593977243] Failed to read output from testmodel.py, exit status != 0: 0.6328378570033237 0.657405964 0.101907431 Calling exit ...