Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Time.Examples.ModelTime.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.04108/0.04108, allocations: 9.129 MB / 28.99 MB, free: 344 kB / 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.0008549/0.0008549, allocations: 95.27 kB / 35.32 MB, free: 0.9375 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.0009806/0.0009806, allocations: 165.2 kB / 38.73 MB, free: 2.406 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.9667/0.9667, allocations: 177.2 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.003895/0.003895, allocations: 0.8207 MB / 276.5 MB, free: 0.7617 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.55/1.55, allocations: 274.9 MB / 0.5419 GB, free: 0.6016 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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Time.Examples.ModelTime") translateModel(AixLib.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Time.Examples.ModelTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.439e-05/1.551e-05, allocations: 6.25 kB / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Time.Examples.ModelTime): time 0.001267/0.001283, allocations: 0.6197 MB / 0.6384 GB, free: 13.53 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 4.902e-05/0.001332, allocations: 7.938 kB / 0.6384 GB, free: 13.52 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.381e-05/0.001345, allocations: 0 / 0.6384 GB, free: 13.52 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.291e-05/0.001368, allocations: 4 kB / 0.6384 GB, free: 13.52 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-06/0.001374, allocations: 0 / 0.6384 GB, free: 13.52 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 3.492e-05/0.001409, allocations: 0 / 0.6384 GB, free: 13.52 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 4.451e-05/0.001454, allocations: 3.984 kB / 0.6384 GB, free: 13.51 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.001493, allocations: 4 kB / 0.6384 GB, free: 13.51 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 2.983e-05/0.001523, allocations: 0 / 0.6384 GB, free: 13.51 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 1.982e-05/0.001543, allocations: 0 / 0.6384 GB, free: 13.51 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.001556, allocations: 0 / 0.6384 GB, free: 13.51 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 3.436e-06/0.00156, allocations: 0 / 0.6384 GB, free: 13.51 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.001574, allocations: 4 kB / 0.6384 GB, free: 13.5 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.14e-05/0.001585, allocations: 0 / 0.6384 GB, free: 13.5 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 4.456e-05/0.00163, allocations: 4 kB / 0.6384 GB, free: 13.5 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.001632, allocations: 3.984 kB / 0.6385 GB, free: 13.5 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.31e-07/0.001633, allocations: 7.938 kB / 0.6385 GB, free: 13.49 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.965e-06/0.001636, allocations: 0 / 0.6385 GB, free: 13.49 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.0001934/0.001829, allocations: 204.8 kB / 0.6387 GB, free: 13.26 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.001863, allocations: 11.98 kB / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.174e-05/0.001885, allocations: 0.9375 kB / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.338e-05/0.001938, allocations: 109.8 kB / 0.6388 GB, free: 13.12 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.001947, allocations: 384 / 0.6388 GB, free: 13.12 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.001954, allocations: 384 / 0.6388 GB, free: 13.12 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.291e-05/0.002007, allocations: 30.25 kB / 0.6388 GB, free: 13.08 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.002014, allocations: 4.188 kB / 0.6388 GB, free: 13.08 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.78e-06/0.002019, allocations: 4.375 kB / 0.6388 GB, free: 13.07 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.002024, allocations: 384 / 0.6388 GB, free: 13.07 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.346e-06/0.002033, allocations: 3.938 kB / 0.6388 GB, free: 13.07 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.572e-05/0.002088, allocations: 53.05 kB / 0.6389 GB, free: 13 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.381e-05/0.002122, allocations: 34.47 kB / 0.6389 GB, free: 12.96 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.456e-05/0.002137, allocations: 4.922 kB / 0.6389 GB, free: 12.95 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-06/0.002141, allocations: 4 kB / 0.6389 GB, free: 12.95 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.002159, allocations: 30.56 kB / 0.6389 GB, free: 12.91 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.00216, allocations: 4 kB / 0.6389 GB, free: 12.91 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 7.825e-05/0.002238, allocations: 37.62 kB / 0.639 GB, free: 12.86 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.002268, allocations: 51.41 kB / 0.639 GB, free: 12.8 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.962e-05/0.002298, allocations: 89.86 kB / 0.6391 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.002308, allocations: 25.7 kB / 0.6391 GB, free: 12.67 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 1.817e-05/0.002326, allocations: 84.14 kB / 0.6392 GB, free: 12.59 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.002348, allocations: 0 / 0.6392 GB, free: 12.59 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.59e-05/0.002364, allocations: 9.719 kB / 0.6392 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.002438, allocations: 318.8 kB / 0.6395 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.747e-06/0.002442, allocations: 0 / 0.6395 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-06/0.002446, allocations: 4.125 kB / 0.6395 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.205e-05/0.002468, allocations: 12.86 kB / 0.6395 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.00247, allocations: 0 / 0.6395 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.187e-05/0.002502, allocations: 37.62 kB / 0.6396 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.002513, allocations: 7.906 kB / 0.6396 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.002518, allocations: 0 / 0.6396 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.00253, allocations: 0 / 0.6396 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.331e-05/0.002573, allocations: 4 kB / 0.6396 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.002577, allocations: 3.984 kB / 0.6396 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.262e-06/0.002583, allocations: 0 / 0.6396 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.002588, allocations: 4.094 kB / 0.6396 GB, free: 12.17 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.134e-05/0.002639, allocations: 113.8 kB / 0.6397 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-06/0.002642, allocations: 0 / 0.6397 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.206e-05/0.002654, allocations: 6.984 kB / 0.6397 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.002656, allocations: 0 / 0.6397 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.002658, allocations: 0 / 0.6397 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.00266, allocations: 0 / 0.6397 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.38e-05/0.002704, allocations: 69.83 kB / 0.6398 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.002706, allocations: 4 kB / 0.6398 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-06/0.00271, allocations: 0 / 0.6398 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.002711, allocations: 4 kB / 0.6398 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-06/0.002716, allocations: 0 / 0.6398 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.002716, allocations: 3.938 kB / 0.6398 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.002718, allocations: 4 kB / 0.6398 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.467e-05/0.002763, allocations: 61 kB / 0.6399 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-06/0.002767, allocations: 0 / 0.6399 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.633e-06/0.002773, allocations: 4 kB / 0.6399 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.176e-06/0.002776, allocations: 0 / 0.6399 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-06/0.002784, allocations: 4 kB / 0.6399 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.71e-07/0.002785, allocations: 0 / 0.6399 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 4.389e-06/0.002789, allocations: 4.859 kB / 0.6399 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.002789, allocations: 4.031 kB / 0.6399 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of remove unused functions: time 8.226e-05/0.002871, allocations: 0 / 0.6399 GB, free: 11.84 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.576e-05/0.002947, allocations: 80.41 kB / 0.6399 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.712e-05/0.002994, allocations: 8.859 kB / 0.64 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.002996, allocations: 0 / 0.64 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 7.213e-06/0.003003, allocations: 12.8 kB / 0.64 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.638e-05/0.00305, allocations: 3.938 kB / 0.64 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001559/0.003206, allocations: 82.77 kB / 0.64 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.844e-05/0.003234, allocations: 51.36 kB / 0.6401 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.224e-05/0.003246, allocations: 3.984 kB / 0.6401 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.003274, allocations: 51.38 kB / 0.6402 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of SimCode: time 7.21e-07/0.003275, allocations: 0 / 0.6402 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of Templates: time 0.001339/0.004614, allocations: 205.2 kB / 0.6403 GB, free: 11.29 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Time.Examples.ModelTime.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Time.Examples.ModelTime.pipe ; mkfifo AixLib_AixLib.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Time.Examples.ModelTime.pipe >> ../files/AixLib_AixLib.Utilities.Time.Examples.ModelTime.sim & ./AixLib_AixLib.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.164710656739771]