Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.IO.Files.Examples.CSVReader.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.04119/0.04119, allocations: 9.133 MB / 28.99 MB, free: 0.832 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.000791/0.000791, allocations: 91.16 kB / 35.33 MB, free: 1.09 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.0009498/0.0009498, allocations: 163.9 kB / 38.73 MB, free: 2.527 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.992/0.992, allocations: 177.2 MB / 219.2 MB, free: 10.13 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.004005/0.004005, allocations: 0.8185 MB / 276.5 MB, free: 0.7578 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.659/1.659, allocations: 274.9 MB / 0.5419 GB, free: 0.6133 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.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.IO.Files.Examples.CSVReader") translateModel(AixLib.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.IO.Files.Examples.CSVReader") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.82e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.Files.Examples.CSVReader): time 0.002657/0.002685, allocations: 1.794 MB / 0.6396 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001896/0.004581, allocations: 1.8 MB / 0.6414 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.172e-05/0.004673, allocations: 11.88 kB / 0.6414 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.004963, allocations: 31.77 kB / 0.6414 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.005255, allocations: 107.4 kB / 0.6415 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.005442, allocations: 95.58 kB / 0.6416 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.005635, allocations: 143.5 kB / 0.6418 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 4.836e-05/0.005683, allocations: 6.297 kB / 0.6418 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.005868, allocations: 87.67 kB / 0.6419 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.006006, allocations: 47.88 kB / 0.6419 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.006024, allocations: 8 kB / 0.6419 GB, free: 9.918 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.006197, allocations: 111.8 kB / 0.642 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 5.208e-05/0.006249, allocations: 35.83 kB / 0.6421 GB, free: 9.773 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.006285, allocations: 19.94 kB / 0.6421 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.006542, allocations: 191.3 kB / 0.6423 GB, free: 9.566 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.006546, allocations: 0 / 0.6423 GB, free: 9.566 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.182e-06/0.006547, allocations: 0 / 0.6423 GB, free: 9.566 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.006551, allocations: 0 / 0.6423 GB, free: 9.566 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004546/0.007006, allocations: 371.8 kB / 0.6426 GB, free: 9.18 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.007039, allocations: 11.98 kB / 0.6426 GB, free: 9.168 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.007158, allocations: 20.92 kB / 0.6426 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.007354, allocations: 162.3 kB / 0.6428 GB, free: 8.961 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.007371, allocations: 4.375 kB / 0.6428 GB, free: 8.957 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.007382, allocations: 4.375 kB / 0.6428 GB, free: 8.953 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.007548, allocations: 122.8 kB / 0.6429 GB, free: 8.805 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.007563, allocations: 7.938 kB / 0.6429 GB, free: 8.797 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.007573, allocations: 0 / 0.6429 GB, free: 8.797 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.007579, allocations: 3.984 kB / 0.6429 GB, free: 8.793 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.19e-05/0.007621, allocations: 18.75 kB / 0.643 GB, free: 8.773 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.007731, allocations: 88.45 kB / 0.643 GB, free: 8.664 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.007864, allocations: 86.55 kB / 0.6431 GB, free: 8.551 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.007896, allocations: 22.7 kB / 0.6431 GB, free: 8.52 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.007911, allocations: 4 kB / 0.6431 GB, free: 8.516 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.008059, allocations: 92.7 kB / 0.6432 GB, free: 8.402 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.00806, allocations: 0 / 0.6432 GB, free: 8.402 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8): time 0.0001759/0.008236, allocations: 84.86 kB / 0.6433 GB, free: 8.312 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/0.008307, allocations: 136.5 kB / 0.6434 GB, free: 8.148 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.008451, allocations: 193.1 kB / 0.6436 GB, free: 7.945 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.00847, allocations: 29.64 kB / 0.6437 GB, free: 7.91 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.008506, allocations: 100.1 kB / 0.6438 GB, free: 7.809 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.008553, allocations: 23.8 kB / 0.6438 GB, free: 7.785 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.008594, allocations: 29.69 kB / 0.6438 GB, free: 7.75 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.319e-05/0.008687, allocations: 322.8 kB / 0.6441 GB, free: 7.426 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.491e-05/0.008712, allocations: 14.77 kB / 0.6441 GB, free: 7.41 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.438e-05/0.008766, allocations: 69.97 kB / 0.6442 GB, free: 7.32 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.387e-05/0.00884, allocations: 65.03 kB / 0.6443 GB, free: 7.242 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.008842, allocations: 0 / 0.6443 GB, free: 7.242 MB / 0.6043 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.905e-05/0.008941, allocations: 68.44 kB / 0.6443 GB, free: 7.168 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.008957, allocations: 8 kB / 0.6443 GB, free: 7.16 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.008963, allocations: 0 / 0.6443 GB, free: 7.16 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.008973, allocations: 0 / 0.6443 GB, free: 7.16 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.833e-05/0.009062, allocations: 31.86 kB / 0.6444 GB, free: 7.129 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.009065, allocations: 0 / 0.6444 GB, free: 7.129 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.98e-05/0.009105, allocations: 20.03 kB / 0.6444 GB, free: 7.109 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.009112, allocations: 0 / 0.6444 GB, free: 7.109 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.991e-05/0.009192, allocations: 120.7 kB / 0.6445 GB, free: 6.98 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.00921, allocations: 11.98 kB / 0.6445 GB, free: 6.969 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.009321, allocations: 75.08 kB / 0.6446 GB, free: 6.895 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.009325, allocations: 4 kB / 0.6446 GB, free: 6.891 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.009328, allocations: 3.938 kB / 0.6446 GB, free: 6.887 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.009334, allocations: 3.984 kB / 0.6446 GB, free: 6.883 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.009435, allocations: 93.8 kB / 0.6447 GB, free: 6.773 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.009437, allocations: 0 / 0.6447 GB, free: 6.773 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.466e-05/0.009491, allocations: 19.98 kB / 0.6447 GB, free: 6.754 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.009496, allocations: 4 kB / 0.6447 GB, free: 6.75 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.009506, allocations: 4 kB / 0.6447 GB, free: 6.746 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.009512, allocations: 8.047 kB / 0.6447 GB, free: 6.738 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.009514, allocations: 4 kB / 0.6447 GB, free: 6.734 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.009619, allocations: 112.3 kB / 0.6448 GB, free: 6.598 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.00964, allocations: 19.89 kB / 0.6448 GB, free: 6.578 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.009662, allocations: 7.984 kB / 0.6448 GB, free: 6.57 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.017e-05/0.009692, allocations: 4 kB / 0.6448 GB, free: 6.566 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.009731, allocations: 19.92 kB / 0.6449 GB, free: 6.547 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.009746, allocations: 3.984 kB / 0.6449 GB, free: 6.543 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 5.943e-05/0.009805, allocations: 61.55 kB / 0.6449 GB, free: 6.48 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.009805, allocations: 3.938 kB / 0.6449 GB, free: 6.477 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001974/0.01, allocations: 47.86 kB / 0.645 GB, free: 6.43 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.001341/0.01134, allocations: 0.621 MB / 0.6456 GB, free: 5.793 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001274/0.01147, allocations: 44.78 kB / 0.6456 GB, free: 5.746 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.01148, allocations: 4 kB / 0.6456 GB, free: 5.742 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.729e-05/0.01152, allocations: 44.89 kB / 0.6457 GB, free: 5.695 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.01169, allocations: 40.08 kB / 0.6457 GB, free: 5.656 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005501/0.01224, allocations: 257.6 kB / 0.646 GB, free: 5.371 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.753e-05/0.01227, allocations: 67.28 kB / 0.646 GB, free: 5.285 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 5.425e-05/0.01233, allocations: 25.23 kB / 0.646 GB, free: 5.262 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.614e-05/0.01243, allocations: 79.34 kB / 0.6461 GB, free: 5.184 MB / 0.6043 GB Notification: Performance of SimCode: time 1.022e-06/0.01243, allocations: 0 / 0.6461 GB, free: 5.184 MB / 0.6043 GB Notification: Performance of Templates: time 0.004559/0.01699, allocations: 2.867 MB / 0.6489 GB, free: 2.312 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo AixLib_AixLib.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/AixLib_AixLib.Utilities.IO.Files.Examples.CSVReader.sim & ./AixLib_AixLib.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.366443273611367]