Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04403/0.04403, allocations: 9.13 MB / 28.99 MB, free: 344 kB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.00105/0.00105, allocations: 98.64 kB / 35.33 MB, free: 0.9375 MB / 24.77 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.001156/0.001156, allocations: 164.4 kB / 38.73 MB, free: 2.406 MB / 24.77 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.043/1.043, allocations: 177.2 MB / 219.2 MB, free: 10.11 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.006535/0.006535, allocations: 0.8294 MB / 276.5 MB, free: 0.7422 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.735/1.735, allocations: 274.9 MB / 0.5419 GB, free: 0.6094 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.275e-05/3.539e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01599/0.01603, allocations: 13.19 MB / 0.6508 GB, free: 0.8086 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.01184/0.02787, allocations: 5.475 MB / 0.6561 GB, free: 11.32 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002367/0.03023, allocations: 87.31 kB / 0.6562 GB, free: 11.23 MB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.03132, allocations: 369.2 kB / 0.6566 GB, free: 10.87 MB / 0.6199 GB Notification: Performance of NFTyping.typeBindings: time 0.002565/0.03388, allocations: 1.34 MB / 0.6579 GB, free: 9.52 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.03575, allocations: 1.099 MB / 0.659 GB, free: 8.418 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.002659/0.03841, allocations: 3.386 MB / 0.6623 GB, free: 5.02 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.0397, allocations: 0.8808 MB / 0.6631 GB, free: 4.113 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001956/0.04165, allocations: 1.578 MB / 0.6647 GB, free: 2.531 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009588/0.04261, allocations: 0.7554 MB / 0.6654 GB, free: 1.773 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.04273, allocations: 100 kB / 0.6655 GB, free: 1.676 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005837/0.04332, allocations: 303.4 kB / 0.6658 GB, free: 1.379 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.04354, allocations: 298.8 kB / 0.6661 GB, free: 1.086 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.0005185/0.04406, allocations: 431 kB / 0.6665 GB, free: 0.6641 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.04526, allocations: 1.047 MB / 0.6675 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.04526, allocations: 0 / 0.6675 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.172e-06/0.04527, allocations: 0 / 0.6675 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.04527, allocations: 0 / 0.6675 GB, free: 15.61 MB / 0.6355 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.001575/0.04685, allocations: 1.354 MB / 0.6688 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.04689, allocations: 15.97 kB / 0.6688 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003281/0.04721, allocations: 164.6 kB / 0.669 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.04828, allocations: 0.7423 MB / 0.6697 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.04832, allocations: 58.31 kB / 0.6698 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.596e-05/0.04842, allocations: 87.92 kB / 0.6699 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007493/0.04917, allocations: 0.6867 MB / 0.6705 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.04919, allocations: 0 / 0.6705 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.86e-05/0.04927, allocations: 28 kB / 0.6706 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/0.0493, allocations: 24 kB / 0.6706 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/0.04963, allocations: 197 kB / 0.6708 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00232/0.05196, allocations: 2.176 MB / 0.6729 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.0522, allocations: 164.1 kB / 0.6731 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.909e-05/0.05229, allocations: 67.58 kB / 0.6731 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.05239, allocations: 31.97 kB / 0.6732 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.05255, allocations: 34.56 kB / 0.6732 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=31): time 1.513e-06/0.05255, allocations: 4 kB / 0.6732 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31): time 0.000342/0.05289, allocations: 198 kB / 0.6734 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.05292, allocations: 55.41 kB / 0.6734 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005897/0.05351, allocations: 0.6809 MB / 0.6741 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.05354, allocations: 33.7 kB / 0.6741 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.05376, allocations: 409.8 kB / 0.6745 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.997e-05/0.05384, allocations: 123 kB / 0.6746 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.05396, allocations: 110.2 kB / 0.6747 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.05405, allocations: 333.9 kB / 0.6751 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.05418, allocations: 60.11 kB / 0.6751 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.05445, allocations: 398 kB / 0.6755 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.05481, allocations: 332.8 kB / 0.6758 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.05482, allocations: 4 kB / 0.6758 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004752/0.05529, allocations: 347.7 kB / 0.6761 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.05531, allocations: 8 kB / 0.6762 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.05532, allocations: 4 kB / 0.6762 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.05534, allocations: 8.688 kB / 0.6762 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.05566, allocations: 127.8 kB / 0.6763 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.05568, allocations: 15.92 kB / 0.6763 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.05596, allocations: 59.61 kB / 0.6764 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.056, allocations: 20 kB / 0.6764 GB, free: 6.027 MB / 0.6355 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.000442/0.05644, allocations: 144.5 kB / 0.6765 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.459e-05/0.05654, allocations: 67.86 kB / 0.6766 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/0.05691, allocations: 250.8 kB / 0.6768 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.05692, allocations: 7.984 kB / 0.6768 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.05692, allocations: 4 kB / 0.6768 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001872/0.05711, allocations: 225 kB / 0.677 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009571/0.05807, allocations: 0.7742 MB / 0.6778 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.05807, allocations: 0 / 0.6778 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.05831, allocations: 71.89 kB / 0.6779 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.05832, allocations: 4 kB / 0.6779 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.05834, allocations: 16.14 kB / 0.6779 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.05834, allocations: 4 kB / 0.6779 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.05835, allocations: 4 kB / 0.6779 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.05877, allocations: 439 kB / 0.6783 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.05894, allocations: 107.4 kB / 0.6784 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.9e-05/0.059, allocations: 15.98 kB / 0.6784 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.05926, allocations: 15.98 kB / 0.6785 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.05932, allocations: 31.89 kB / 0.6785 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.05935, allocations: 15.98 kB / 0.6785 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000319/0.05967, allocations: 335.3 kB / 0.6788 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.05967, allocations: 0 / 0.6788 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006041/0.06028, allocations: 279.3 kB / 0.6791 GB, free: 3.129 MB / 0.6355 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.0002834/0.06056, allocations: 164.1 kB / 0.6792 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003236/0.06088, allocations: 222 kB / 0.6795 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/0.0609, allocations: 8 kB / 0.6795 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.06102, allocations: 98.3 kB / 0.6796 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.06234, allocations: 482.9 kB / 0.68 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.0643, allocations: 1.427 MB / 0.6814 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.06445, allocations: 183.2 kB / 0.6816 GB, free: 484 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003876/0.06484, allocations: 135 kB / 0.6817 GB, free: 344 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.248/0.3128, allocations: 361.2 kB / 0.6821 GB, free: 41.03 MB / 0.6355 GB Notification: Performance of SimCode: time 1.563e-06/0.3128, allocations: 0 / 0.6821 GB, free: 41.03 MB / 0.6355 GB Notification: Performance of Templates: time 0.02236/0.3352, allocations: 17.56 MB / 0.6992 GB, free: 37.94 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo AixLib_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/AixLib_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./AixLib_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.185760325752199]