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.04123/0.04123, allocations: 9.135 MB / 28.99 MB, free: 0.793 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.0008821/0.0008821, allocations: 91.11 kB / 35.33 MB, free: 1.062 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.001016/0.001016, allocations: 167.7 kB / 38.73 MB, free: 2.496 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.8835/0.8835, allocations: 177.1 MB / 219.2 MB, free: 10.14 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.004173/0.004173, allocations: 0.8209 MB / 276.5 MB, free: 0.7734 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.575/1.575, 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.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.753e-06/1.753e-06, allocations: 0 / 0.6378 GB, free: 14.18 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.798e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Examples.Performance.Example5): time 0.001297/0.001325, allocations: 0.5481 MB / 0.6384 GB, free: 13.62 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0001673/0.001492, allocations: 39.81 kB / 0.6384 GB, free: 13.59 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.377e-05/0.001546, allocations: 0 / 0.6384 GB, free: 13.59 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/0.001581, allocations: 3.938 kB / 0.6384 GB, free: 13.58 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.00173, allocations: 8 kB / 0.6384 GB, free: 13.57 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 4.15e-05/0.001772, allocations: 0 / 0.6384 GB, free: 13.57 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.569e-05/0.001828, allocations: 15.91 kB / 0.6384 GB, free: 13.56 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.32e-05/0.001861, allocations: 4 kB / 0.6384 GB, free: 13.55 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 5.691e-05/0.001918, allocations: 4 kB / 0.6384 GB, free: 13.55 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 8.098e-05/0.001999, allocations: 19.92 kB / 0.6384 GB, free: 13.53 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.002018, allocations: 3.938 kB / 0.6384 GB, free: 13.53 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-06/0.002027, allocations: 4 kB / 0.6384 GB, free: 13.52 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.002071, allocations: 3.984 kB / 0.6385 GB, free: 13.52 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.779e-05/0.002089, allocations: 4 kB / 0.6385 GB, free: 13.52 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 6.611e-05/0.002155, allocations: 15.91 kB / 0.6385 GB, free: 13.5 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.002157, allocations: 0 / 0.6385 GB, free: 13.5 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.21e-07/0.002157, allocations: 0 / 0.6385 GB, free: 13.5 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.002161, allocations: 0 / 0.6385 GB, free: 13.5 MB / 0.6043 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.0002834/0.002444, allocations: 229 kB / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.002481, allocations: 19.92 kB / 0.6387 GB, free: 13.23 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.243e-05/0.002504, allocations: 0.9375 kB / 0.6387 GB, free: 13.23 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.002635, allocations: 117.7 kB / 0.6388 GB, free: 13.09 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.002645, allocations: 384 / 0.6388 GB, free: 13.09 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.002668, allocations: 384 / 0.6388 GB, free: 13.09 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.915e-05/0.002747, allocations: 37.08 kB / 0.6389 GB, free: 13.05 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.002754, allocations: 192 / 0.6389 GB, free: 13.05 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.002762, allocations: 4.359 kB / 0.6389 GB, free: 13.04 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.002769, allocations: 384 / 0.6389 GB, free: 13.04 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.458e-06/0.002779, allocations: 7.875 kB / 0.6389 GB, free: 13.04 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.279e-05/0.002861, allocations: 63.88 kB / 0.6389 GB, free: 12.96 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.155e-05/0.002903, allocations: 18.58 kB / 0.639 GB, free: 12.93 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.302e-05/0.002916, allocations: 8.953 kB / 0.639 GB, free: 12.92 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.002929, allocations: 0 / 0.639 GB, free: 12.92 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.002951, allocations: 30.56 kB / 0.639 GB, free: 12.88 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.002952, allocations: 0 / 0.639 GB, free: 12.88 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 0.0001026/0.003055, allocations: 37.62 kB / 0.639 GB, free: 12.84 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.003082, allocations: 51.41 kB / 0.6391 GB, free: 12.77 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.688e-05/0.003139, allocations: 110.7 kB / 0.6392 GB, free: 12.65 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.385e-06/0.003148, allocations: 29.7 kB / 0.6392 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 1.998e-05/0.003168, allocations: 84.27 kB / 0.6393 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.003188, allocations: 7.953 kB / 0.6393 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/0.003208, allocations: 13.72 kB / 0.6393 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.114e-05/0.00329, allocations: 322.8 kB / 0.6396 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.0033, allocations: 6.828 kB / 0.6396 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.502e-05/0.003315, allocations: 9.719 kB / 0.6396 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.17e-05/0.003347, allocations: 20.48 kB / 0.6397 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.003349, allocations: 0 / 0.6397 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.687e-05/0.003396, allocations: 44.58 kB / 0.6397 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.003408, allocations: 11.91 kB / 0.6397 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.003413, allocations: 3.938 kB / 0.6397 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.003424, allocations: 0 / 0.6397 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.029e-05/0.003475, allocations: 4 kB / 0.6397 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.003478, allocations: 3.984 kB / 0.6397 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.132e-05/0.00349, allocations: 0 / 0.6397 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.003495, allocations: 0 / 0.6397 GB, free: 12.05 MB / 0.6043 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.531e-05/0.00355, allocations: 128.5 kB / 0.6398 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-06/0.003554, allocations: 0 / 0.6398 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.392e-05/0.003618, allocations: 45.22 kB / 0.6399 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.00362, allocations: 256 / 0.6399 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.003622, allocations: 0 / 0.6399 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.003626, allocations: 4 kB / 0.6399 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.281e-05/0.003689, allocations: 69.78 kB / 0.64 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.00369, allocations: 0 / 0.64 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.003722, allocations: 11.92 kB / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.003724, allocations: 0 / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.003732, allocations: 0 / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.003733, allocations: 0 / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.003735, allocations: 4 kB / 0.64 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.955e-05/0.003815, allocations: 78.73 kB / 0.64 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.003835, allocations: 4 kB / 0.64 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-06/0.003843, allocations: 0 / 0.64 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-06/0.00385, allocations: 0 / 0.64 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.002e-05/0.00386, allocations: 0 / 0.64 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.003863, allocations: 7.984 kB / 0.6401 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.303e-05/0.003876, allocations: 8.859 kB / 0.6401 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4.1e-08/0.003877, allocations: 0 / 0.6401 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of remove unused functions: time 8.702e-05/0.003964, allocations: 4 kB / 0.6401 GB, free: 11.64 MB / 0.6043 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.35e-05/0.004037, allocations: 80.42 kB / 0.6401 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.823e-05/0.004085, allocations: 12.86 kB / 0.6402 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.004087, allocations: 0 / 0.6402 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 9.659e-06/0.004097, allocations: 12.84 kB / 0.6402 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.064e-05/0.004158, allocations: 7.938 kB / 0.6402 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001948/0.004352, allocations: 115.5 kB / 0.6403 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.95e-05/0.004382, allocations: 63.28 kB / 0.6403 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.748e-05/0.004399, allocations: 3.953 kB / 0.6403 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.004431, allocations: 55.56 kB / 0.6404 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of SimCode: time 8.22e-07/0.004432, allocations: 0 / 0.6404 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of Templates: time 0.001674/0.006105, allocations: 360.9 kB / 0.6407 GB, free: 10.88 MB / 0.6043 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: 4.155974894296378]