Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Examples.Performance.Example5.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.03942/0.03942, allocations: 9.122 MB / 18.95 MB, free: 0.7031 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.005078/0.04449, allocations: 3.41 MB / 22.36 MB, free: 3.789 MB / 24.77 MB " [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.001094/0.001094, allocations: 87.31 kB / 23.2 MB, free: 2.961 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001935/0.003029, allocations: 443 kB / 23.63 MB, free: 2.527 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.001566/0.001566, allocations: 145 kB / 24.52 MB, free: 1.648 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001905/0.003471, allocations: 479.4 kB / 24.99 MB, free: 1.176 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.8809/0.8809, allocations: 177.1 MB / 202.9 MB, free: 8.34 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1367/1.018, allocations: 53.66 MB / 256.5 MB, free: 5.355 MB / 250.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.003471/0.003471, allocations: 0.8343 MB / 258.1 MB, free: 3.922 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.004542, allocations: 0.6478 MB / 258.7 MB, free: 3.27 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.563/1.563, allocations: 274.9 MB / 0.5219 GB, free: 1.145 MB / 0.4949 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1158/1.679, allocations: 78.9 MB / 0.5989 GB, free: 2.262 MB / 0.573 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.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Examples.Performance.Example5") translateModel(AixLib.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Examples.Performance.Example5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.92e-07/8.92e-07, allocations: 0 / 0.6002 GB, free: 0.9766 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 6.713e-06/7.605e-06, allocations: 5.266 kB / 0.6002 GB, free: 0.9727 MB / 0.573 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Examples.Performance.Example5): time 0.0008051/0.0008127, allocations: 0.5992 MB / 0.6008 GB, free: 388 kB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 5.876e-05/0.0008714, allocations: 43.83 kB / 0.6008 GB, free: 344 kB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.0008963, allocations: 0 / 0.6008 GB, free: 344 kB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.142e-05/0.0009077, allocations: 4 kB / 0.6008 GB, free: 340 kB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 3.611e-05/0.0009438, allocations: 0 / 0.6008 GB, free: 340 kB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 2.942e-05/0.0009732, allocations: 19.8 kB / 0.6009 GB, free: 320 kB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 4.146e-05/0.001015, allocations: 7.984 kB / 0.6009 GB, free: 312 kB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 2.385e-05/0.001039, allocations: 4 kB / 0.6009 GB, free: 308 kB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.148e-05/0.00109, allocations: 15.92 kB / 0.6009 GB, free: 292 kB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.636e-05/0.001146, allocations: 4 kB / 0.6009 GB, free: 288 kB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.001161, allocations: 4 kB / 0.6009 GB, free: 284 kB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.521e-06/0.001166, allocations: 0 / 0.6009 GB, free: 284 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.001193, allocations: 7.984 kB / 0.6009 GB, free: 276 kB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 1.828e-05/0.001211, allocations: 7.938 kB / 0.6009 GB, free: 268 kB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 4.78e-05/0.001259, allocations: 4 kB / 0.6009 GB, free: 264 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.158e-05/0.001271, allocations: 4 kB / 0.6009 GB, free: 260 kB / 0.573 GB Notification: Performance of FrontEnd: time 5.51e-07/0.001271, allocations: 0 / 0.6009 GB, free: 260 kB / 0.573 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.001284, allocations: 0 / 0.6009 GB, free: 260 kB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002635/0.001548, allocations: 236.6 kB / 0.6011 GB, free: 16 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 2.304e-05/0.001571, allocations: 8.031 kB / 0.6011 GB, free: 15.99 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.105e-05/0.001592, allocations: 8.922 kB / 0.6012 GB, free: 15.98 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.87e-05/0.00168, allocations: 105.8 kB / 0.6013 GB, free: 15.85 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.072e-06/0.001686, allocations: 384 / 0.6013 GB, free: 15.85 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.001697, allocations: 384 / 0.6013 GB, free: 15.85 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.962e-05/0.001746, allocations: 45.02 kB / 0.6013 GB, free: 15.8 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.92e-06/0.001751, allocations: 192 / 0.6013 GB, free: 15.8 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-06/0.001755, allocations: 384 / 0.6013 GB, free: 15.8 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.00176, allocations: 384 / 0.6013 GB, free: 15.8 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.004e-05/0.00177, allocations: 3.938 kB / 0.6013 GB, free: 15.8 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.477e-05/0.001824, allocations: 63.88 kB / 0.6014 GB, free: 15.72 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 2.663e-05/0.001851, allocations: 26.59 kB / 0.6014 GB, free: 15.68 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.276e-06/0.001859, allocations: 4.859 kB / 0.6014 GB, free: 15.68 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-06/0.001867, allocations: 3.938 kB / 0.6014 GB, free: 15.67 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.001882, allocations: 34.56 kB / 0.6014 GB, free: 15.63 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=1): time 4.71e-07/0.001883, allocations: 3.938 kB / 0.6014 GB, free: 15.62 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1): time 6.772e-05/0.001951, allocations: 37.75 kB / 0.6015 GB, free: 15.58 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.001972, allocations: 51.41 kB / 0.6015 GB, free: 15.52 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.811e-05/0.00202, allocations: 106.7 kB / 0.6016 GB, free: 15.4 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.002026, allocations: 25.7 kB / 0.6016 GB, free: 15.37 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 1.82e-05/0.002045, allocations: 84.12 kB / 0.6017 GB, free: 15.29 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.002061, allocations: 7.891 kB / 0.6017 GB, free: 15.28 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.002083, allocations: 17.72 kB / 0.6018 GB, free: 15.25 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 5.901e-05/0.002142, allocations: 318.8 kB / 0.6021 GB, free: 14.93 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-06/0.002149, allocations: 10.88 kB / 0.6021 GB, free: 14.92 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.091e-05/0.00216, allocations: 17.72 kB / 0.6021 GB, free: 14.9 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.321e-05/0.002183, allocations: 20.53 kB / 0.6021 GB, free: 14.87 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.002185, allocations: 0 / 0.6021 GB, free: 14.87 MB / 0.5887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.239e-05/0.002218, allocations: 44.45 kB / 0.6021 GB, free: 14.82 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/0.002225, allocations: 4 kB / 0.6021 GB, free: 14.82 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.002228, allocations: 0 / 0.6021 GB, free: 14.82 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/0.002235, allocations: 0 / 0.6021 GB, free: 14.82 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.986e-05/0.002275, allocations: 8.125 kB / 0.6022 GB, free: 14.81 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/0.002277, allocations: 0 / 0.6022 GB, free: 14.81 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.146e-05/0.002289, allocations: 4 kB / 0.6022 GB, free: 14.8 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.002293, allocations: 0 / 0.6022 GB, free: 14.8 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 3.923e-05/0.002332, allocations: 112.6 kB / 0.6023 GB, free: 14.68 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-06/0.002337, allocations: 7.984 kB / 0.6023 GB, free: 14.68 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.286e-05/0.00239, allocations: 45.09 kB / 0.6023 GB, free: 14.62 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.32e-07/0.002391, allocations: 0 / 0.6023 GB, free: 14.62 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.002392, allocations: 0 / 0.6023 GB, free: 14.62 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.002395, allocations: 4 kB / 0.6023 GB, free: 14.62 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.662e-05/0.002441, allocations: 69.88 kB / 0.6024 GB, free: 14.53 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.002442, allocations: 0 / 0.6024 GB, free: 14.53 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.212e-05/0.002464, allocations: 4 kB / 0.6024 GB, free: 14.53 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.002475, allocations: 7.938 kB / 0.6024 GB, free: 14.52 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.002476, allocations: 0 / 0.6024 GB, free: 14.52 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.002482, allocations: 0 / 0.6024 GB, free: 14.52 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.002483, allocations: 4 kB / 0.6024 GB, free: 14.52 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-07/0.002484, allocations: 0 / 0.6024 GB, free: 14.52 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.233e-05/0.002546, allocations: 78.89 kB / 0.6025 GB, free: 14.42 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-06/0.002553, allocations: 7.938 kB / 0.6025 GB, free: 14.41 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-06/0.002561, allocations: 8.062 kB / 0.6025 GB, free: 14.4 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-06/0.002569, allocations: 0 / 0.6025 GB, free: 14.4 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.01e-07/0.00257, allocations: 0 / 0.6025 GB, free: 14.4 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 9.968e-06/0.00258, allocations: 12.84 kB / 0.6025 GB, free: 14.39 MB / 0.5887 GB Notification: Performance of sort global known variables: time 5e-08/0.00258, allocations: 4 kB / 0.6025 GB, free: 14.38 MB / 0.5887 GB Notification: Performance of remove unused functions: time 8.734e-05/0.002667, allocations: 0 / 0.6025 GB, free: 14.38 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 4.541e-05/0.002713, allocations: 72.42 kB / 0.6026 GB, free: 14.3 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 4.175e-05/0.002755, allocations: 16.86 kB / 0.6026 GB, free: 14.29 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.002757, allocations: 0 / 0.6026 GB, free: 14.29 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 9.358e-06/0.002766, allocations: 20.91 kB / 0.6026 GB, free: 14.26 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.348e-05/0.00281, allocations: 7.938 kB / 0.6026 GB, free: 14.25 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001396/0.002949, allocations: 115.3 kB / 0.6027 GB, free: 14.11 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.132e-05/0.00297, allocations: 51.36 kB / 0.6028 GB, free: 14.04 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 1.15e-05/0.002982, allocations: 7.984 kB / 0.6028 GB, free: 14.04 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.003006, allocations: 47.38 kB / 0.6028 GB, free: 13.99 MB / 0.5887 GB Notification: Performance of SimCode: time 3.1e-07/0.003007, allocations: 4 kB / 0.6028 GB, free: 13.98 MB / 0.5887 GB Notification: Performance of Templates: time 0.001292/0.004299, allocations: 356.8 kB / 0.6032 GB, free: 13.64 MB / 0.5887 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.Examples.Performance.Example5.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.Examples.Performance.Example5.pipe ; mkfifo AixLib_AixLib.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Examples.Performance.Example5.pipe >> ../files/AixLib_AixLib.Fluid.Examples.Performance.Example5.sim & ./AixLib_AixLib.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.924237729050219]