Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.conf.json 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.001337/0.001337, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001538/0.001538, allocations: 177.3 kB / 23.36 MB, free: 1.133 MB / 18.57 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.073/1.073, allocations: 177.1 MB / 203.8 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8364/0.8364, allocations: 154.9 MB / 415.1 MB, free: 256 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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) Running command: translateModel(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 480.3 MB, free: 6.566 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037e-05/1.17e-05, allocations: 2.312 kB / 480.4 MB, free: 6.562 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.001981/0.001993, allocations: 1.732 MB / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.003575, allocations: 1.804 MB / 483.9 MB, free: 3.055 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.705e-05/0.003642, allocations: 0 / 483.9 MB, free: 3.055 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.00388, allocations: 40.86 kB / 483.9 MB, free: 3.016 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.004168, allocations: 108.7 kB / 484 MB, free: 2.918 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.004361, allocations: 97.02 kB / 484.1 MB, free: 2.824 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.004514, allocations: 141.2 kB / 484.3 MB, free: 2.688 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.004552, allocations: 14.22 kB / 484.3 MB, free: 2.668 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.004705, allocations: 84.53 kB / 484.4 MB, free: 2.586 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.004813, allocations: 43.89 kB / 484.4 MB, free: 2.543 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.004828, allocations: 5.156 kB / 484.4 MB, free: 2.539 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.004966, allocations: 115.8 kB / 484.5 MB, free: 2.426 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.163e-05/0.005008, allocations: 27.86 kB / 484.6 MB, free: 2.398 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.005172, allocations: 28.55 kB / 484.6 MB, free: 2.371 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.005383, allocations: 191.4 kB / 484.8 MB, free: 2.184 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.005385, allocations: 1.25 kB / 484.8 MB, free: 2.184 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.005385, allocations: 0 / 484.8 MB, free: 2.184 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.574e-06/0.005388, allocations: 0 / 484.8 MB, free: 2.184 MB / 442.7 MB 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.0003783/0.005766, allocations: 373.2 kB / 485.1 MB, free: 1.801 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.676e-05/0.005793, allocations: 8.031 kB / 485.1 MB, free: 1.793 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.613e-05/0.005889, allocations: 24.84 kB / 485.2 MB, free: 1.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.00604, allocations: 154.4 kB / 485.3 MB, free: 1.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.006053, allocations: 384 / 485.3 MB, free: 1.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.006066, allocations: 9.266 kB / 485.3 MB, free: 1.582 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.006198, allocations: 122.9 kB / 485.4 MB, free: 1.434 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.006207, allocations: 8.75 kB / 485.5 MB, free: 1.426 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.006216, allocations: 4.703 kB / 485.5 MB, free: 1.422 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.006221, allocations: 1.062 kB / 485.5 MB, free: 1.422 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.412e-05/0.006255, allocations: 14.81 kB / 485.5 MB, free: 1.406 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.282e-05/0.006347, allocations: 89.06 kB / 485.6 MB, free: 1.297 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.885e-05/0.006446, allocations: 84.05 kB / 485.6 MB, free: 1.188 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.006474, allocations: 27.31 kB / 485.7 MB, free: 1.152 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.006485, allocations: 8.562 kB / 485.7 MB, free: 1.145 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.707e-05/0.006572, allocations: 88.77 kB / 485.8 MB, free: 1.035 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.006573, allocations: 0.625 kB / 485.8 MB, free: 1.035 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001309/0.006704, allocations: 89.7 kB / 485.9 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.006749, allocations: 132.5 kB / 486 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.006857, allocations: 194.7 kB / 486.2 MB, free: 0.5781 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.00687, allocations: 26.55 kB / 486.2 MB, free: 0.5469 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.849e-05/0.006899, allocations: 100.1 kB / 486.3 MB, free: 456 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.006926, allocations: 23.78 kB / 486.3 MB, free: 432 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.006956, allocations: 22.8 kB / 486.3 MB, free: 404 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.838e-05/0.007024, allocations: 326.8 kB / 486.7 MB, free: 68 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.007041, allocations: 10.83 kB / 486.7 MB, free: 56 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.902e-05/0.00709, allocations: 70.89 kB / 486.7 MB, free: 15.96 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.695e-05/0.007147, allocations: 70.36 kB / 486.8 MB, free: 15.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.007149, allocations: 0 / 486.8 MB, free: 15.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.624e-05/0.007225, allocations: 77.69 kB / 486.9 MB, free: 15.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.007235, allocations: 8 kB / 486.9 MB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.007239, allocations: 0.5312 kB / 486.9 MB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.007249, allocations: 1.25 kB / 486.9 MB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.007316, allocations: 25.38 kB / 486.9 MB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.007318, allocations: 0 / 486.9 MB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.669e-05/0.007355, allocations: 9.016 kB / 486.9 MB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.007363, allocations: 11.97 kB / 486.9 MB, free: 15.75 MB / 458.7 MB 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 6.17e-05/0.007425, allocations: 121.5 kB / 487.1 MB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.00744, allocations: 11.98 kB / 487.1 MB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.794e-05/0.007528, allocations: 72.58 kB / 487.1 MB, free: 15.53 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.00753, allocations: 0 / 487.1 MB, free: 15.53 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.007533, allocations: 8.25 kB / 487.1 MB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.007536, allocations: 0 / 487.1 MB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.56e-05/0.007622, allocations: 106.6 kB / 487.3 MB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.007623, allocations: 0 / 487.3 MB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.007659, allocations: 21.64 kB / 487.3 MB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.00766, allocations: 0 / 487.3 MB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.007667, allocations: 4 kB / 487.3 MB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.007667, allocations: 0 / 487.3 MB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.007668, allocations: 0 / 487.3 MB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.602e-05/0.007754, allocations: 121.1 kB / 487.4 MB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.00777, allocations: 15.91 kB / 487.4 MB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.007788, allocations: 5.531 kB / 487.4 MB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.011e-05/0.007818, allocations: 8.594 kB / 487.4 MB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.007846, allocations: 11.92 kB / 487.4 MB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.007856, allocations: 5.438 kB / 487.4 MB, free: 15.19 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.565e-05/0.007901, allocations: 60.47 kB / 487.5 MB, free: 15.13 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007901, allocations: 0 / 487.5 MB, free: 15.13 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001598/0.008061, allocations: 47.86 kB / 487.5 MB, free: 15.08 MB / 458.7 MB 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.001383/0.009444, allocations: 0.6363 MB / 488.2 MB, free: 14.83 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.00958, allocations: 55.77 kB / 488.2 MB, free: 14.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.009586, allocations: 0 / 488.2 MB, free: 14.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.047e-05/0.009626, allocations: 28.78 kB / 488.3 MB, free: 14.74 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.009768, allocations: 37.42 kB / 488.3 MB, free: 14.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.01024, allocations: 252.5 kB / 488.5 MB, free: 14.43 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.474e-05/0.01027, allocations: 71.33 kB / 488.6 MB, free: 14.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.715e-05/0.01032, allocations: 13.75 kB / 488.6 MB, free: 14.33 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.099e-05/0.0104, allocations: 80.73 kB / 488.7 MB, free: 14.25 MB / 458.7 MB Notification: Performance of SimCode: time 4.41e-07/0.0104, allocations: 0 / 488.7 MB, free: 14.25 MB / 458.7 MB Notification: Performance of Templates: time 0.00414/0.01454, allocations: 2.85 MB / 491.6 MB, free: 11.65 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.655836382880807]