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.09335/0.09335, allocations: 9.13 MB / 28.99 MB, free: 0.8203 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.001361/0.001361, allocations: 101.9 kB / 35.34 MB, free: 1.078 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.001694/0.001694, allocations: 164.1 kB / 38.73 MB, free: 2.492 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 1.009/1.009, allocations: 177.2 MB / 219.2 MB, free: 10.11 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.004412/0.004412, allocations: 0.8176 MB / 276.5 MB, free: 0.7422 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.574/1.574, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 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.833e-06/1.833e-06, allocations: 0 / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/2.028e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.Files.Examples.CSVReader): time 0.002046/0.002066, allocations: 1.743 MB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001824/0.00389, allocations: 1.796 MB / 0.6413 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.349e-05/0.003954, allocations: 11.94 kB / 0.6413 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.004182, allocations: 35.77 kB / 0.6413 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002609/0.004443, allocations: 119.3 kB / 0.6415 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.004584, allocations: 95.58 kB / 0.6416 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.004732, allocations: 135.5 kB / 0.6417 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.004773, allocations: 10.28 kB / 0.6417 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.004908, allocations: 87.69 kB / 0.6418 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.005008, allocations: 39.83 kB / 0.6418 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.005024, allocations: 8 kB / 0.6418 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.005148, allocations: 119.8 kB / 0.6419 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/0.005197, allocations: 27.84 kB / 0.642 GB, free: 9.898 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.005231, allocations: 27.92 kB / 0.642 GB, free: 9.871 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.005444, allocations: 191.3 kB / 0.6422 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005447, allocations: 3.984 kB / 0.6422 GB, free: 9.68 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.81e-07/0.005447, allocations: 0 / 0.6422 GB, free: 9.68 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.845e-06/0.00545, allocations: 0 / 0.6422 GB, free: 9.68 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.0004172/0.005867, allocations: 363.8 kB / 0.6425 GB, free: 9.301 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.005897, allocations: 11.98 kB / 0.6425 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.006004, allocations: 16.92 kB / 0.6425 GB, free: 9.273 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.006172, allocations: 162.3 kB / 0.6427 GB, free: 9.086 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.006185, allocations: 4.375 kB / 0.6427 GB, free: 9.082 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.006197, allocations: 4.375 kB / 0.6427 GB, free: 9.078 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.006331, allocations: 126.8 kB / 0.6428 GB, free: 8.926 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.006339, allocations: 3.938 kB / 0.6428 GB, free: 8.922 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.006351, allocations: 11.98 kB / 0.6428 GB, free: 8.91 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.006356, allocations: 0 / 0.6428 GB, free: 8.91 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.561e-05/0.006392, allocations: 18.75 kB / 0.6429 GB, free: 8.891 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.37e-05/0.006485, allocations: 92.48 kB / 0.643 GB, free: 8.777 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.006585, allocations: 78.52 kB / 0.643 GB, free: 8.672 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.006613, allocations: 26.7 kB / 0.6431 GB, free: 8.637 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.006626, allocations: 4 kB / 0.6431 GB, free: 8.633 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.19e-05/0.006718, allocations: 96.69 kB / 0.6432 GB, free: 8.516 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 7.21e-07/0.006718, allocations: 0 / 0.6432 GB, free: 8.516 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8): time 0.00013/0.006848, allocations: 80.44 kB / 0.6432 GB, free: 8.43 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.006895, allocations: 136.7 kB / 0.6434 GB, free: 8.266 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.007001, allocations: 181 kB / 0.6435 GB, free: 8.074 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.007016, allocations: 33.7 kB / 0.6436 GB, free: 8.035 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.007042, allocations: 96.09 kB / 0.6437 GB, free: 7.938 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.00707, allocations: 27.78 kB / 0.6437 GB, free: 7.91 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.007107, allocations: 29.7 kB / 0.6437 GB, free: 7.875 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.164e-05/0.007178, allocations: 326.8 kB / 0.644 GB, free: 7.547 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.466e-05/0.007203, allocations: 18.75 kB / 0.644 GB, free: 7.527 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-05/0.007239, allocations: 58 kB / 0.6441 GB, free: 7.449 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.736e-05/0.007296, allocations: 69.27 kB / 0.6442 GB, free: 7.367 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.007299, allocations: 4 kB / 0.6442 GB, free: 7.363 MB / 0.6043 GB Notification: Performance of matching and sorting (n=10) (initialization): time 7.795e-05/0.007377, allocations: 72.44 kB / 0.6442 GB, free: 7.285 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.797e-06/0.007386, allocations: 4 kB / 0.6442 GB, free: 7.281 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.00739, allocations: 4 kB / 0.6442 GB, free: 7.277 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.0074, allocations: 3.938 kB / 0.6442 GB, free: 7.273 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.698e-05/0.007467, allocations: 27.86 kB / 0.6443 GB, free: 7.246 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.00747, allocations: 0 / 0.6443 GB, free: 7.246 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.655e-05/0.007506, allocations: 20.03 kB / 0.6443 GB, free: 7.227 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.007513, allocations: 4 kB / 0.6443 GB, free: 7.223 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 5.823e-05/0.007571, allocations: 116.7 kB / 0.6444 GB, free: 7.098 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.007586, allocations: 11.98 kB / 0.6444 GB, free: 7.086 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.444e-05/0.00767, allocations: 79.06 kB / 0.6445 GB, free: 7.008 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.007672, allocations: 0 / 0.6445 GB, free: 7.008 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.007674, allocations: 3.938 kB / 0.6445 GB, free: 7.004 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.007679, allocations: 4 kB / 0.6445 GB, free: 7 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.192e-05/0.00776, allocations: 97.78 kB / 0.6446 GB, free: 6.887 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.007761, allocations: 0 / 0.6446 GB, free: 6.887 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.199e-05/0.007793, allocations: 16 kB / 0.6446 GB, free: 6.871 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.007794, allocations: 0 / 0.6446 GB, free: 6.871 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.0078, allocations: 3.984 kB / 0.6446 GB, free: 6.867 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.007802, allocations: 4 kB / 0.6446 GB, free: 6.863 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.007803, allocations: 0 / 0.6446 GB, free: 6.863 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.515e-05/0.007888, allocations: 116.5 kB / 0.6447 GB, free: 6.723 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.007904, allocations: 15.89 kB / 0.6447 GB, free: 6.707 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.007923, allocations: 8 kB / 0.6447 GB, free: 6.699 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.875e-05/0.007952, allocations: 4 kB / 0.6448 GB, free: 6.695 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.007981, allocations: 11.98 kB / 0.6448 GB, free: 6.684 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.007994, allocations: 19.98 kB / 0.6448 GB, free: 6.664 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 4.706e-05/0.008041, allocations: 53.55 kB / 0.6448 GB, free: 6.609 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.008041, allocations: 0 / 0.6448 GB, free: 6.609 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000149/0.00819, allocations: 55.86 kB / 0.6449 GB, free: 6.555 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.001131/0.009321, allocations: 0.6285 MB / 0.6455 GB, free: 5.91 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 8.995e-05/0.009411, allocations: 52.7 kB / 0.6456 GB, free: 5.855 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.009413, allocations: 0 / 0.6456 GB, free: 5.855 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.523e-05/0.009448, allocations: 32.97 kB / 0.6456 GB, free: 5.82 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.009571, allocations: 35.91 kB / 0.6456 GB, free: 5.785 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.009977, allocations: 261.6 kB / 0.6459 GB, free: 5.496 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.608e-05/0.01001, allocations: 67.34 kB / 0.6459 GB, free: 5.41 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 4.381e-05/0.01006, allocations: 21.36 kB / 0.646 GB, free: 5.391 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.127e-05/0.01014, allocations: 87.28 kB / 0.646 GB, free: 5.305 MB / 0.6043 GB Notification: Performance of SimCode: time 3.61e-07/0.01014, allocations: 0 / 0.646 GB, free: 5.305 MB / 0.6043 GB Notification: Performance of Templates: time 0.004066/0.01421, allocations: 2.866 MB / 0.6488 GB, free: 2.438 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 -lv LOG_STATS > AixLib_AixLib.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.427969348151237]