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.001294/0.001294, allocations: 80.33 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001449/0.001449, allocations: 163.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.415/1.415, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.221/1.221, allocations: 154.6 MB / 413.7 MB, free: 5.285 MB / 382.1 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 178] 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 2.245e-06/2.245e-06, allocations: 0 / 0.6185 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.533e-05/3.757e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003351/0.003389, allocations: 1.696 MB / 0.6202 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002851/0.00624, allocations: 1.714 MB / 0.6218 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.006346, allocations: 3.938 kB / 0.6218 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.006697, allocations: 39.7 kB / 0.6219 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004137/0.00711, allocations: 123.3 kB / 0.622 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.007374, allocations: 95.58 kB / 0.6221 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.007626, allocations: 135.5 kB / 0.6222 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.992e-05/0.007686, allocations: 9.625 kB / 0.6222 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.007935, allocations: 83.75 kB / 0.6223 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006904/0.008625, allocations: 47.88 kB / 0.6223 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.663e-05/0.008682, allocations: 4 kB / 0.6223 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.008904, allocations: 111.8 kB / 0.6225 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.185e-05/0.008976, allocations: 35.83 kB / 0.6225 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.576e-05/0.009032, allocations: 23.94 kB / 0.6225 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.009404, allocations: 215.3 kB / 0.6227 GB, free: 312 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.009408, allocations: 0 / 0.6227 GB, free: 312 kB / 0.5294 GB Notification: Performance of FrontEnd: time 4.188e-06/0.009413, allocations: 3.984 kB / 0.6227 GB, free: 308 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.009418, allocations: 4 kB / 0.6227 GB, free: 304 kB / 0.5294 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.0007812/0.0102, allocations: 389.1 kB / 0.6231 GB, free: 15.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.01025, allocations: 9.469 kB / 0.6231 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.01045, allocations: 24.88 kB / 0.6231 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.01081, allocations: 170.3 kB / 0.6233 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.01083, allocations: 4.375 kB / 0.6233 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.01085, allocations: 4.375 kB / 0.6233 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.01113, allocations: 127.3 kB / 0.6234 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.01114, allocations: 3.938 kB / 0.6234 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.01116, allocations: 0 / 0.6234 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.01116, allocations: 3.938 kB / 0.6234 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.01136, allocations: 63.88 kB / 0.6235 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/0.01161, allocations: 151 kB / 0.6236 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.01191, allocations: 119.8 kB / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.01205, allocations: 46.61 kB / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.01207, allocations: 11.92 kB / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.01233, allocations: 109.9 kB / 0.6239 GB, free: 14.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.01233, allocations: 0 / 0.6239 GB, free: 14.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0005698/0.0129, allocations: 181.3 kB / 0.6241 GB, free: 14.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.013, allocations: 132.5 kB / 0.6242 GB, free: 14.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.01323, allocations: 204.3 kB / 0.6244 GB, free: 14.36 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.01327, allocations: 25.7 kB / 0.6244 GB, free: 14.33 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.568e-05/0.01334, allocations: 108.1 kB / 0.6245 GB, free: 14.22 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.01339, allocations: 23.84 kB / 0.6246 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.01345, allocations: 29.7 kB / 0.6246 GB, free: 14.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.0136, allocations: 323.1 kB / 0.6249 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.01371, allocations: 35.97 kB / 0.6249 GB, free: 13.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.01386, allocations: 93.97 kB / 0.625 GB, free: 13.69 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.0141, allocations: 99.33 kB / 0.6251 GB, free: 13.58 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01411, allocations: 0 / 0.6251 GB, free: 13.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003199/0.01443, allocations: 141.5 kB / 0.6252 GB, free: 13.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.01445, allocations: 15.92 kB / 0.6253 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.01445, allocations: 3.938 kB / 0.6253 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.01447, allocations: 0 / 0.6253 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.0146, allocations: 19.98 kB / 0.6253 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.01461, allocations: 4.312 kB / 0.6253 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.155e-05/0.01469, allocations: 7.938 kB / 0.6253 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.0147, allocations: 12.08 kB / 0.6253 GB, free: 13.37 MB / 0.545 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 0.0001258/0.01483, allocations: 130.8 kB / 0.6254 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.01487, allocations: 15.91 kB / 0.6254 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.01516, allocations: 127 kB / 0.6256 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01516, allocations: 0 / 0.6256 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.01516, allocations: 0 / 0.6256 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01517, allocations: 0 / 0.6256 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.01535, allocations: 153.2 kB / 0.6257 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01535, allocations: 0 / 0.6257 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.628e-05/0.01543, allocations: 19.98 kB / 0.6257 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01544, allocations: 4.188 kB / 0.6257 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.01545, allocations: 3.938 kB / 0.6257 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.01545, allocations: 11.88 kB / 0.6258 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01545, allocations: 0 / 0.6258 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003576/0.01581, allocations: 178.7 kB / 0.6259 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.01584, allocations: 19.84 kB / 0.6259 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.01587, allocations: 4 kB / 0.6259 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.01595, allocations: 15.92 kB / 0.626 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.016, allocations: 11.98 kB / 0.626 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.01602, allocations: 4 kB / 0.626 GB, free: 12.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001565/0.01618, allocations: 148.1 kB / 0.6261 GB, free: 12.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01618, allocations: 4 kB / 0.6261 GB, free: 12.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002838/0.01646, allocations: 47.86 kB / 0.6262 GB, free: 12.42 MB / 0.545 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.00196/0.01842, allocations: 0.5348 MB / 0.6267 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003383/0.01876, allocations: 91.81 kB / 0.6268 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01876, allocations: 192 / 0.6268 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.01891, allocations: 43.98 kB / 0.6268 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.01922, allocations: 33.38 kB / 0.6268 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000662/0.01989, allocations: 259.3 kB / 0.6271 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.01999, allocations: 93.42 kB / 0.6272 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001227/0.02012, allocations: 29.11 kB / 0.6272 GB, free: 11.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.707e-05/0.02018, allocations: 28.48 kB / 0.6272 GB, free: 11.52 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.02018, allocations: 0 / 0.6272 GB, free: 11.52 MB / 0.545 GB Notification: Performance of Templates: time 0.006989/0.02717, allocations: 2.631 MB / 0.6298 GB, free: 8.949 MB / 0.545 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.766519073396921] Failed to read output from testmodel.py, exit status != 0: 0.03715214878320694 0.051134219 0.038716709 Calling exit ...