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.04096/0.04096, allocations: 9.134 MB / 28.99 MB, free: 0.8086 MB / 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.0009428/0.0009428, allocations: 91.27 kB / 35.33 MB, free: 1.074 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.001074/0.001074, allocations: 168.8 kB / 38.73 MB, free: 2.492 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 0.9887/0.9887, allocations: 177.1 MB / 219.2 MB, free: 10.12 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.004079/0.004079, allocations: 0.8226 MB / 276.5 MB, free: 0.7539 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.639/1.639, allocations: 274.9 MB / 0.5419 GB, free: 0.6328 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 1.162e-06/1.162e-06, allocations: 0 / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/1.995e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01608/0.0161, allocations: 13.14 MB / 0.6507 GB, free: 0.9219 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.006638/0.02274, allocations: 5.486 MB / 0.6561 GB, free: 11.42 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006273/0.02337, allocations: 79.31 kB / 0.6561 GB, free: 11.34 MB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 0.0005372/0.02391, allocations: 369.2 kB / 0.6565 GB, free: 10.98 MB / 0.6199 GB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.02559, allocations: 1.348 MB / 0.6578 GB, free: 9.621 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.02735, allocations: 1.107 MB / 0.6589 GB, free: 8.512 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.002176/0.02952, allocations: 3.39 MB / 0.6622 GB, free: 5.109 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006594/0.03018, allocations: 0.8466 MB / 0.663 GB, free: 4.234 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.03162, allocations: 1.624 MB / 0.6646 GB, free: 2.609 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006102/0.03223, allocations: 0.7554 MB / 0.6653 GB, free: 1.852 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 8.825e-05/0.03232, allocations: 100 kB / 0.6654 GB, free: 1.754 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006807/0.033, allocations: 291.5 kB / 0.6657 GB, free: 1.469 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.03318, allocations: 302.7 kB / 0.666 GB, free: 1.172 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.0002958/0.03347, allocations: 427 kB / 0.6664 GB, free: 0.7539 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.0008506/0.03432, allocations: 1.051 MB / 0.6674 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.03433, allocations: 0 / 0.6674 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.202e-06/0.03433, allocations: 0 / 0.6674 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.03433, allocations: 0 / 0.6674 GB, free: 15.7 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.001102/0.03544, allocations: 1.354 MB / 0.6688 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 2.501e-05/0.03546, allocations: 15.98 kB / 0.6688 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.03566, allocations: 164.6 kB / 0.6689 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007482/0.03641, allocations: 0.7423 MB / 0.6697 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.03644, allocations: 54.38 kB / 0.6697 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.656e-05/0.03651, allocations: 79.94 kB / 0.6698 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004967/0.03701, allocations: 0.6944 MB / 0.6705 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.03702, allocations: 0 / 0.6705 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.03705, allocations: 28 kB / 0.6705 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.03708, allocations: 20 kB / 0.6705 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002305/0.03731, allocations: 201 kB / 0.6707 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.03897, allocations: 2.16 MB / 0.6728 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.03916, allocations: 175.9 kB / 0.673 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.526e-05/0.03922, allocations: 71.58 kB / 0.673 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.2e-05/0.03929, allocations: 27.98 kB / 0.6731 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.03932, allocations: 42.55 kB / 0.6731 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=31): time 1.062e-06/0.03932, allocations: 0 / 0.6731 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31): time 0.0002754/0.03959, allocations: 194.1 kB / 0.6733 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.03962, allocations: 63.34 kB / 0.6734 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.04006, allocations: 0.677 MB / 0.674 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.04009, allocations: 33.7 kB / 0.6741 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.04036, allocations: 409.8 kB / 0.6744 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.315e-05/0.04042, allocations: 119 kB / 0.6746 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.265e-05/0.04051, allocations: 114.2 kB / 0.6747 GB, free: 8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.405e-05/0.04059, allocations: 329.9 kB / 0.675 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.103e-05/0.04068, allocations: 60.12 kB / 0.675 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.04088, allocations: 394.1 kB / 0.6754 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.04127, allocations: 340.8 kB / 0.6757 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.04127, allocations: 0 / 0.6757 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003301/0.0416, allocations: 355.6 kB / 0.6761 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.04161, allocations: 8 kB / 0.6761 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.04162, allocations: 4.688 kB / 0.6761 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.04163, allocations: 8 kB / 0.6761 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.04183, allocations: 119.8 kB / 0.6762 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.04184, allocations: 11.98 kB / 0.6762 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.04206, allocations: 55.62 kB / 0.6763 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.04208, allocations: 28.05 kB / 0.6763 GB, free: 6.121 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.0001313/0.04221, allocations: 148.4 kB / 0.6764 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.04228, allocations: 63.88 kB / 0.6765 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.04255, allocations: 250.8 kB / 0.6767 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.04256, allocations: 8 kB / 0.6768 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.04256, allocations: 0 / 0.6768 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001423/0.0427, allocations: 225 kB / 0.677 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006888/0.04339, allocations: 0.7702 MB / 0.6777 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.04339, allocations: 4 kB / 0.6777 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.04354, allocations: 63.91 kB / 0.6778 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.04354, allocations: 0 / 0.6778 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.04356, allocations: 24.08 kB / 0.6778 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.04356, allocations: 4 kB / 0.6778 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.04356, allocations: 3.938 kB / 0.6778 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.04388, allocations: 435.1 kB / 0.6782 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.04401, allocations: 107.3 kB / 0.6783 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.04405, allocations: 8 kB / 0.6783 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.04423, allocations: 19.98 kB / 0.6784 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.04427, allocations: 35.81 kB / 0.6784 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.04429, allocations: 15.98 kB / 0.6784 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002204/0.04451, allocations: 335.3 kB / 0.6787 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.04451, allocations: 0 / 0.6787 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004002/0.04491, allocations: 279.3 kB / 0.679 GB, free: 3.234 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.0002154/0.04512, allocations: 160.2 kB / 0.6791 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004289/0.04555, allocations: 222 kB / 0.6794 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.04556, allocations: 13.38 kB / 0.6794 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.667e-05/0.04565, allocations: 88.92 kB / 0.6795 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009068/0.04655, allocations: 494.9 kB / 0.6799 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.04797, allocations: 1.427 MB / 0.6813 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.04807, allocations: 179.2 kB / 0.6815 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002636/0.04834, allocations: 143 kB / 0.6816 GB, free: 444 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005232/0.04886, allocations: 361 kB / 0.682 GB, free: 76 kB / 0.6355 GB Notification: Performance of SimCode: time 8.01e-07/0.04886, allocations: 4 kB / 0.682 GB, free: 72 kB / 0.6355 GB Notification: Performance of Templates: time 0.3192/0.3681, allocations: 17.53 MB / 0.6991 GB, free: 38.19 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 -lv LOG_STATS > AixLib_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.170654174871743]