Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.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.00182/0.00182, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002062/0.002062, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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-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 1.404/1.404, allocations: 154.8 MB / 414.4 MB, free: 448 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 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.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5198 GB, free: 2.301 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.784e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.297 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.003296/0.003324, allocations: 1.638 MB / 0.5214 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.004615, allocations: 0.6609 MB / 0.5221 GB, free: 4 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.302e-05/0.004708, allocations: 8.047 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.004869, allocations: 24.34 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.005081, allocations: 44.09 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.005494, allocations: 120.7 kB / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.005791, allocations: 191.5 kB / 0.5225 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.005896, allocations: 18.86 kB / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.006157, allocations: 123.8 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.006299, allocations: 75.72 kB / 0.5227 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.006344, allocations: 12.62 kB / 0.5227 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.796e-05/0.006442, allocations: 29.41 kB / 0.5227 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.428e-05/0.006536, allocations: 35.89 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.686e-05/0.006633, allocations: 51.89 kB / 0.5228 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.006952, allocations: 195.4 kB / 0.523 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.006954, allocations: 4.531 kB / 0.523 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.31e-07/0.006955, allocations: 0.75 kB / 0.523 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.00696, allocations: 0 / 0.523 GB, free: 15.09 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008359/0.007795, allocations: 0.5893 MB / 0.5236 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.007834, allocations: 8.031 kB / 0.5236 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.008036, allocations: 40.83 kB / 0.5236 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.008386, allocations: 178.6 kB / 0.5238 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.008408, allocations: 8.375 kB / 0.5238 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.008434, allocations: 12.38 kB / 0.5238 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.008757, allocations: 170.2 kB / 0.524 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.008766, allocations: 192 / 0.524 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.008795, allocations: 12.84 kB / 0.524 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.008799, allocations: 0 / 0.524 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.009028, allocations: 116.1 kB / 0.5241 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007338/0.009762, allocations: 400.4 kB / 0.5245 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.01001, allocations: 137.2 kB / 0.5246 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.01022, allocations: 131 kB / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.123e-05/0.01026, allocations: 7.938 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003403/0.0106, allocations: 239.9 kB / 0.525 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.0106, allocations: 96 / 0.525 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0009094/0.01151, allocations: 472.8 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.01165, allocations: 166.2 kB / 0.5256 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.01191, allocations: 255.2 kB / 0.5258 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.01194, allocations: 34.25 kB / 0.5258 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.01207, allocations: 155.7 kB / 0.526 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.01211, allocations: 31.78 kB / 0.526 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.01221, allocations: 48.3 kB / 0.5261 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002811/0.01249, allocations: 0.5001 MB / 0.5266 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.0127, allocations: 152.1 kB / 0.5267 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.01298, allocations: 240.2 kB / 0.5269 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/0.01339, allocations: 322.1 kB / 0.5272 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01339, allocations: 1.094 kB / 0.5272 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006914/0.01408, allocations: 461.6 kB / 0.5277 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.01419, allocations: 118.8 kB / 0.5278 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.0142, allocations: 4 kB / 0.5278 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.01422, allocations: 0 / 0.5278 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.01432, allocations: 14.56 kB / 0.5278 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.01433, allocations: 7.984 kB / 0.5278 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.562e-05/0.01443, allocations: 15.89 kB / 0.5278 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.01445, allocations: 12 kB / 0.5278 GB, free: 9.535 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.0002064/0.01466, allocations: 239.2 kB / 0.5281 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.01472, allocations: 31.84 kB / 0.5281 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.702e-05/0.01475, allocations: 17.98 kB / 0.5281 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.01476, allocations: 1.125 kB / 0.5281 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.01476, allocations: 0 / 0.5281 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01476, allocations: 0 / 0.5281 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.01578, allocations: 0.6374 MB / 0.5287 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01578, allocations: 3.438 kB / 0.5287 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-05/0.01584, allocations: 11.98 kB / 0.5288 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.01584, allocations: 0 / 0.5288 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.01586, allocations: 4 kB / 0.5288 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.01587, allocations: 0 / 0.5288 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01587, allocations: 7.875 kB / 0.5288 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007322/0.0166, allocations: 0.518 MB / 0.5293 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.01662, allocations: 11.91 kB / 0.5293 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.01666, allocations: 4 kB / 0.5293 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.01677, allocations: 10.66 kB / 0.5293 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.01682, allocations: 7.984 kB / 0.5293 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.01684, allocations: 11.98 kB / 0.5293 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001538/0.01699, allocations: 181.6 kB / 0.5295 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01699, allocations: 0 / 0.5295 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002942/0.01729, allocations: 39.94 kB / 0.5295 GB, free: 7.691 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0002849/0.01757, allocations: 126.3 kB / 0.5297 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007091/0.01828, allocations: 0.5324 MB / 0.5302 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.01828, allocations: 4 kB / 0.5302 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.0186, allocations: 257.8 kB / 0.5304 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.01892, allocations: 23.92 kB / 0.5304 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006963/0.01962, allocations: 353.9 kB / 0.5308 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.01973, allocations: 95.23 kB / 0.5309 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.867e-05/0.01979, allocations: 20.45 kB / 0.5309 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/0.01985, allocations: 21.25 kB / 0.5309 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of SimCode: time 4.31e-07/0.01985, allocations: 0 / 0.5309 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.006299/0.02615, allocations: 2.19 MB / 0.5331 GB, free: 4.074 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.114129430963658]