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.04089/0.04089, allocations: 9.135 MB / 19.04 MB, free: 0.6602 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.007048/0.04793, allocations: 3.426 MB / 22.46 MB, free: 3.73 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.0005637/0.0005637, allocations: 87.02 kB / 23.3 MB, free: 2.902 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009671/0.001531, allocations: 446 kB / 23.74 MB, free: 2.465 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.0006865/0.0006865, allocations: 152.8 kB / 24.64 MB, free: 1.562 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009664/0.001653, allocations: 478.6 kB / 25.11 MB, free: 1.094 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.8279/0.8279, allocations: 177.2 MB / 203 MB, free: 8.242 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1428/0.9708, allocations: 53.67 MB / 256.7 MB, free: 5.297 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.003419/0.003419, allocations: 0.8267 MB / 258.3 MB, free: 3.832 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001256/0.004675, allocations: 0.6551 MB / 258.9 MB, free: 3.172 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.542/1.542, allocations: 275 MB / 0.5222 GB, free: 1.062 MB / 0.4949 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1115/1.653, allocations: 78.89 MB / 0.5992 GB, free: 2.18 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 1.573e-06/1.573e-06, allocations: 0 / 0.6005 GB, free: 0.8477 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062e-05/1.219e-05, allocations: 4.703 kB / 0.6005 GB, free: 0.8438 MB / 0.573 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Examples.Performance.Example5): time 0.001418/0.00143, allocations: 0.5955 MB / 0.6011 GB, free: 260 kB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 8.408e-05/0.001514, allocations: 43.83 kB / 0.6012 GB, free: 216 kB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.001548, allocations: 0 / 0.6012 GB, free: 216 kB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.001565, allocations: 0 / 0.6012 GB, free: 216 kB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 5.702e-05/0.001622, allocations: 7.922 kB / 0.6012 GB, free: 208 kB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 4.227e-05/0.001664, allocations: 15.92 kB / 0.6012 GB, free: 192 kB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 6.225e-05/0.001727, allocations: 11.94 kB / 0.6012 GB, free: 180 kB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.491e-05/0.001762, allocations: 7.984 kB / 0.6012 GB, free: 172 kB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.283e-05/0.001834, allocations: 4 kB / 0.6012 GB, free: 168 kB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.879e-05/0.001913, allocations: 11.92 kB / 0.6012 GB, free: 156 kB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.001934, allocations: 4 kB / 0.6012 GB, free: 152 kB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/0.001942, allocations: 0 / 0.6012 GB, free: 152 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 3.687e-05/0.001979, allocations: 4 kB / 0.6012 GB, free: 148 kB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.002, allocations: 4 kB / 0.6012 GB, free: 144 kB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 7.043e-05/0.00207, allocations: 15.86 kB / 0.6013 GB, free: 128 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.00208, allocations: 8 kB / 0.6013 GB, free: 120 kB / 0.573 GB Notification: Performance of FrontEnd: time 6.41e-07/0.00208, allocations: 0 / 0.6013 GB, free: 120 kB / 0.573 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.00209, allocations: 0 / 0.6013 GB, free: 120 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.0003343/0.002425, allocations: 232.6 kB / 0.6015 GB, free: 15.86 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.002456, allocations: 8.031 kB / 0.6015 GB, free: 15.86 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.002484, allocations: 4.938 kB / 0.6015 GB, free: 15.85 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.002608, allocations: 105.8 kB / 0.6016 GB, free: 15.72 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.002615, allocations: 384 / 0.6016 GB, free: 15.72 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.002632, allocations: 4.375 kB / 0.6016 GB, free: 15.72 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.37e-05/0.002696, allocations: 37.08 kB / 0.6016 GB, free: 15.68 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.002702, allocations: 4.188 kB / 0.6016 GB, free: 15.67 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-06/0.002708, allocations: 384 / 0.6016 GB, free: 15.67 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.002713, allocations: 384 / 0.6016 GB, free: 15.67 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.286e-06/0.002721, allocations: 3.938 kB / 0.6016 GB, free: 15.67 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.762e-05/0.002799, allocations: 67.81 kB / 0.6017 GB, free: 15.59 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.695e-05/0.002836, allocations: 22.59 kB / 0.6017 GB, free: 15.55 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.081e-05/0.002847, allocations: 8.844 kB / 0.6017 GB, free: 15.54 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.002856, allocations: 0 / 0.6017 GB, free: 15.54 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.002878, allocations: 30.56 kB / 0.6018 GB, free: 15.5 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=1): time 6.62e-07/0.002879, allocations: 0 / 0.6018 GB, free: 15.5 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1): time 9.284e-05/0.002971, allocations: 41.7 kB / 0.6018 GB, free: 15.46 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.002999, allocations: 51.41 kB / 0.6019 GB, free: 15.39 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.703e-05/0.003066, allocations: 106.7 kB / 0.602 GB, free: 15.28 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.003075, allocations: 25.7 kB / 0.602 GB, free: 15.25 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.003103, allocations: 88.12 kB / 0.6021 GB, free: 15.16 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.003123, allocations: 7.891 kB / 0.6021 GB, free: 15.15 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.003153, allocations: 21.64 kB / 0.6021 GB, free: 15.12 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 8.49e-05/0.003238, allocations: 318.8 kB / 0.6024 GB, free: 14.8 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-06/0.003246, allocations: 2.828 kB / 0.6024 GB, free: 14.8 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.567e-05/0.003262, allocations: 13.84 kB / 0.6024 GB, free: 14.78 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.265e-05/0.003295, allocations: 28.53 kB / 0.6024 GB, free: 14.74 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.003297, allocations: 0 / 0.6024 GB, free: 14.74 MB / 0.5887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.317e-05/0.00335, allocations: 40.52 kB / 0.6025 GB, free: 14.7 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.003361, allocations: 4 kB / 0.6025 GB, free: 14.69 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.003365, allocations: 0 / 0.6025 GB, free: 14.69 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.003377, allocations: 0 / 0.6025 GB, free: 14.69 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.394e-05/0.00343, allocations: 7.938 kB / 0.6025 GB, free: 14.68 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.003435, allocations: 3.984 kB / 0.6025 GB, free: 14.68 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.815e-05/0.003453, allocations: 8.062 kB / 0.6025 GB, free: 14.67 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.003459, allocations: 0 / 0.6025 GB, free: 14.67 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.696e-05/0.003516, allocations: 116.6 kB / 0.6026 GB, free: 14.55 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.884e-06/0.003524, allocations: 4 kB / 0.6026 GB, free: 14.54 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.497e-05/0.003598, allocations: 37.16 kB / 0.6027 GB, free: 14.5 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.0036, allocations: 0 / 0.6027 GB, free: 14.5 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.003601, allocations: 0 / 0.6027 GB, free: 14.5 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.003605, allocations: 4 kB / 0.6027 GB, free: 14.5 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.315e-05/0.003678, allocations: 65.84 kB / 0.6027 GB, free: 14.41 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.00368, allocations: 3.984 kB / 0.6027 GB, free: 14.41 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.003715, allocations: 8.031 kB / 0.6027 GB, free: 14.4 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.428e-05/0.00373, allocations: 3.953 kB / 0.6027 GB, free: 14.4 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.003731, allocations: 0 / 0.6027 GB, free: 14.4 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.003741, allocations: 4.25 kB / 0.6027 GB, free: 14.39 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.003744, allocations: 11.94 kB / 0.6028 GB, free: 14.38 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.003745, allocations: 0 / 0.6028 GB, free: 14.38 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.017e-05/0.003835, allocations: 70.7 kB / 0.6028 GB, free: 14.29 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.003846, allocations: 4 kB / 0.6028 GB, free: 14.29 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.235e-05/0.003858, allocations: 0 / 0.6028 GB, free: 14.29 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.003871, allocations: 3.984 kB / 0.6028 GB, free: 14.29 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.003874, allocations: 8.047 kB / 0.6028 GB, free: 14.28 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 1.642e-05/0.003891, allocations: 8.859 kB / 0.6028 GB, free: 14.27 MB / 0.5887 GB Notification: Performance of sort global known variables: time 9e-08/0.003891, allocations: 4 kB / 0.6028 GB, free: 14.26 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.000155/0.004046, allocations: 0 / 0.6028 GB, free: 14.26 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 7.14e-05/0.004117, allocations: 80.36 kB / 0.6029 GB, free: 14.18 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 5.709e-05/0.004174, allocations: 20.78 kB / 0.6029 GB, free: 14.15 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.004178, allocations: 0 / 0.6029 GB, free: 14.15 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 1.521e-05/0.004193, allocations: 9.047 kB / 0.603 GB, free: 14.14 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.501e-05/0.004258, allocations: 12.03 kB / 0.603 GB, free: 14.13 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001935/0.004452, allocations: 119.3 kB / 0.6031 GB, free: 13.98 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.811e-05/0.00448, allocations: 55.36 kB / 0.6031 GB, free: 13.91 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 1.273e-05/0.004493, allocations: 0 / 0.6031 GB, free: 13.91 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.004532, allocations: 51.38 kB / 0.6032 GB, free: 13.86 MB / 0.5887 GB Notification: Performance of SimCode: time 7.92e-07/0.004533, allocations: 0 / 0.6032 GB, free: 13.86 MB / 0.5887 GB Notification: Performance of Templates: time 0.001857/0.006389, allocations: 370.7 kB / 0.6035 GB, free: 13.5 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.949260194785893]