Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Examples.Performance.Example8.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.05541/0.05541, allocations: 9.121 MB / 18.95 MB, free: 0.7109 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.005648/0.06106, allocations: 3.413 MB / 22.37 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.0006204/0.0006204, allocations: 75.58 kB / 23.2 MB, free: 2.969 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009998/0.00162, allocations: 446.8 kB / 23.63 MB, free: 2.535 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.0006964/0.0006964, allocations: 156.9 kB / 24.53 MB, free: 1.648 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008996/0.001596, allocations: 475.5 kB / 24.99 MB, free: 1.18 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.8733/0.8733, allocations: 177.1 MB / 202.9 MB, free: 8.34 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1382/1.012, allocations: 53.66 MB / 256.5 MB, free: 5.367 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.003449/0.003449, allocations: 0.8254 MB / 258.1 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001272/0.004721, allocations: 0.6526 MB / 258.7 MB, free: 3.273 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.682/1.682, allocations: 274.9 MB / 0.5219 GB, free: 1.109 MB / 0.4949 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1288/1.811, allocations: 78.89 MB / 0.5989 GB, free: 2.246 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.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Examples.Performance.Example8") translateModel(AixLib.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Examples.Performance.Example8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.6002 GB, free: 0.9375 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.901e-05, allocations: 5.125 kB / 0.6002 GB, free: 0.9336 MB / 0.573 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Examples.Performance.Example8): time 0.001089/0.001108, allocations: 0.5734 MB / 0.6008 GB, free: 372 kB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 3.048e-05/0.001138, allocations: 15.92 kB / 0.6008 GB, free: 356 kB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.001155, allocations: 0 / 0.6008 GB, free: 356 kB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 3.838e-06/0.001159, allocations: 0 / 0.6008 GB, free: 356 kB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 3.527e-05/0.001194, allocations: 7.938 kB / 0.6008 GB, free: 348 kB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 3.216e-06/0.001198, allocations: 0 / 0.6008 GB, free: 348 kB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 4.621e-05/0.001244, allocations: 7.984 kB / 0.6008 GB, free: 340 kB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.159e-05/0.001275, allocations: 4 kB / 0.6008 GB, free: 336 kB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.258e-05/0.001318, allocations: 7.938 kB / 0.6008 GB, free: 328 kB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.41e-05/0.001352, allocations: 3.984 kB / 0.6008 GB, free: 324 kB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.001367, allocations: 0 / 0.6008 GB, free: 324 kB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.47e-06/0.001373, allocations: 0 / 0.6008 GB, free: 324 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 7.103e-06/0.00138, allocations: 0 / 0.6008 GB, free: 324 kB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 1.32e-05/0.001393, allocations: 0 / 0.6008 GB, free: 324 kB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 4.873e-05/0.001442, allocations: 7.938 kB / 0.6008 GB, free: 316 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.486e-05/0.001457, allocations: 3.984 kB / 0.6008 GB, free: 312 kB / 0.573 GB Notification: Performance of FrontEnd: time 6.61e-07/0.001457, allocations: 0 / 0.6008 GB, free: 312 kB / 0.573 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.001472, allocations: 0 / 0.6008 GB, free: 312 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002262/0.001698, allocations: 220.7 kB / 0.601 GB, free: 64 kB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.703e-05/0.001725, allocations: 8.031 kB / 0.6011 GB, free: 56 kB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.345e-05/0.001749, allocations: 0.9375 kB / 0.6011 GB, free: 56 kB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.148e-05/0.00183, allocations: 113.8 kB / 0.6012 GB, free: 15.92 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.00184, allocations: 384 / 0.6012 GB, free: 15.92 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-06/0.001846, allocations: 384 / 0.6012 GB, free: 15.92 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.39e-05/0.00192, allocations: 43.92 kB / 0.6012 GB, free: 15.86 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.001926, allocations: 192 / 0.6012 GB, free: 15.86 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-06/0.001931, allocations: 384 / 0.6012 GB, free: 15.86 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.001936, allocations: 384 / 0.6012 GB, free: 15.86 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.401e-05/0.00195, allocations: 11.94 kB / 0.6012 GB, free: 15.85 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.215e-05/0.002022, allocations: 73.89 kB / 0.6013 GB, free: 15.76 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.094e-05/0.002063, allocations: 45.14 kB / 0.6013 GB, free: 15.7 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.306e-05/0.002076, allocations: 9.719 kB / 0.6013 GB, free: 15.68 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.002097, allocations: 4.125 kB / 0.6013 GB, free: 15.68 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.002115, allocations: 30.56 kB / 0.6014 GB, free: 15.64 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=2): time 6.12e-07/0.002116, allocations: 0 / 0.6014 GB, free: 15.64 MB / 0.5887 GB Notification: Performance of matching and sorting (n=2): time 8.848e-05/0.002204, allocations: 45.62 kB / 0.6014 GB, free: 15.59 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.002242, allocations: 81.36 kB / 0.6015 GB, free: 15.49 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.292e-05/0.002295, allocations: 102.7 kB / 0.6016 GB, free: 15.38 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.002304, allocations: 25.7 kB / 0.6016 GB, free: 15.35 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 2.089e-05/0.002325, allocations: 80.14 kB / 0.6017 GB, free: 15.27 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.002353, allocations: 7.953 kB / 0.6017 GB, free: 15.26 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-05/0.002372, allocations: 9.719 kB / 0.6017 GB, free: 15.24 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 7.516e-05/0.002447, allocations: 322.8 kB / 0.602 GB, free: 14.92 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-06/0.002452, allocations: 0 / 0.602 GB, free: 14.92 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.378e-05/0.002466, allocations: 13.7 kB / 0.602 GB, free: 14.9 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.615e-05/0.002492, allocations: 29.84 kB / 0.6021 GB, free: 14.86 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.002494, allocations: 0 / 0.6021 GB, free: 14.86 MB / 0.5887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.432e-05/0.002539, allocations: 41.62 kB / 0.6021 GB, free: 14.82 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.002551, allocations: 4 kB / 0.6021 GB, free: 14.81 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.002556, allocations: 0 / 0.6021 GB, free: 14.81 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.002565, allocations: 0 / 0.6021 GB, free: 14.81 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.55e-05/0.00264, allocations: 4 kB / 0.6021 GB, free: 14.81 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.726e-06/0.002643, allocations: 0 / 0.6021 GB, free: 14.81 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.137e-05/0.002654, allocations: 4 kB / 0.6021 GB, free: 14.8 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.00266, allocations: 0 / 0.6021 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 5.435e-05/0.002714, allocations: 121.8 kB / 0.6022 GB, free: 14.68 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-06/0.00272, allocations: 4 kB / 0.6022 GB, free: 14.67 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.103e-05/0.002801, allocations: 44.69 kB / 0.6023 GB, free: 14.62 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.002804, allocations: 3.984 kB / 0.6023 GB, free: 14.61 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.002806, allocations: 0 / 0.6023 GB, free: 14.61 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.002809, allocations: 0 / 0.6023 GB, free: 14.61 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.332e-05/0.002862, allocations: 69.78 kB / 0.6023 GB, free: 14.53 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.002864, allocations: 0 / 0.6023 GB, free: 14.53 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.977e-05/0.002883, allocations: 8 kB / 0.6024 GB, free: 14.52 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.002911, allocations: 11.94 kB / 0.6024 GB, free: 14.51 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.002913, allocations: 4 kB / 0.6024 GB, free: 14.5 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-06/0.002917, allocations: 0 / 0.6024 GB, free: 14.5 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.002918, allocations: 0 / 0.6024 GB, free: 14.5 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.002919, allocations: 0 / 0.6024 GB, free: 14.5 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.085e-05/0.002969, allocations: 65.92 kB / 0.6024 GB, free: 14.42 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-06/0.002976, allocations: 4 kB / 0.6024 GB, free: 14.41 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-06/0.002983, allocations: 0 / 0.6024 GB, free: 14.41 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.002995, allocations: 4 kB / 0.6024 GB, free: 14.41 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.002998, allocations: 7.938 kB / 0.6024 GB, free: 14.4 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 8.276e-06/0.003006, allocations: 8.891 kB / 0.6025 GB, free: 14.39 MB / 0.5887 GB Notification: Performance of sort global known variables: time 5e-08/0.003006, allocations: 0 / 0.6025 GB, free: 14.39 MB / 0.5887 GB Notification: Performance of remove unused functions: time 8.754e-05/0.003094, allocations: 0 / 0.6025 GB, free: 14.39 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * 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 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 6.537e-05/0.003159, allocations: 72.42 kB / 0.6025 GB, free: 14.31 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 5.161e-05/0.003211, allocations: 20.83 kB / 0.6025 GB, free: 14.29 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.003214, allocations: 0 / 0.6025 GB, free: 14.29 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 7.144e-06/0.003221, allocations: 13.08 kB / 0.6026 GB, free: 14.27 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.218e-05/0.003273, allocations: 19.94 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.000149/0.003422, allocations: 101.5 kB / 0.6027 GB, free: 14.12 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.46e-05/0.003447, allocations: 51.36 kB / 0.6027 GB, free: 14.05 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 1.615e-05/0.003463, allocations: 0 / 0.6027 GB, free: 14.05 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/0.003489, allocations: 51.38 kB / 0.6028 GB, free: 14 MB / 0.5887 GB Notification: Performance of SimCode: time 5.51e-07/0.00349, allocations: 0 / 0.6028 GB, free: 14 MB / 0.5887 GB Notification: Performance of Templates: time 0.001352/0.004842, allocations: 228 kB / 0.603 GB, free: 13.79 MB / 0.5887 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.Examples.Performance.Example8.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.Examples.Performance.Example8.pipe ; mkfifo AixLib_AixLib.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Examples.Performance.Example8.pipe >> ../files/AixLib_AixLib.Fluid.Examples.Performance.Example8.sim & ./AixLib_AixLib.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.079920834861696]