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.001034/0.001034, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.0009458/0.0009458, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9891/0.9891, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.7406/0.7406, allocations: 154.9 MB / 415.1 MB, free: 272 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.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.894e-06/1.894e-06, allocations: 0.7656 kB / 0.5211 GB, free: 432 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.708e-05, allocations: 4.281 kB / 0.5211 GB, free: 428 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.003133/0.00316, allocations: 1.651 MB / 0.5227 GB, free: 14.78 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009967/0.004156, allocations: 0.6634 MB / 0.5234 GB, free: 14.12 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.78e-05/0.004234, allocations: 4 kB / 0.5234 GB, free: 14.11 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003172/0.007406, allocations: 24.94 kB / 0.5234 GB, free: 14.09 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.007657, allocations: 51.69 kB / 0.5234 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.008123, allocations: 120.3 kB / 0.5236 GB, free: 13.92 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002697/0.008392, allocations: 189.4 kB / 0.5237 GB, free: 13.74 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.008493, allocations: 17.62 kB / 0.5238 GB, free: 13.72 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.008729, allocations: 127.7 kB / 0.5239 GB, free: 13.59 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.00883, allocations: 67.84 kB / 0.5239 GB, free: 13.53 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.008859, allocations: 12 kB / 0.524 GB, free: 13.52 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.914e-05/0.008928, allocations: 33.5 kB / 0.524 GB, free: 13.48 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.546e-05/0.008993, allocations: 31.84 kB / 0.524 GB, free: 13.45 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.009056, allocations: 55.89 kB / 0.5241 GB, free: 13.4 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.009252, allocations: 151.5 kB / 0.5242 GB, free: 13.25 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.009255, allocations: 1.281 kB / 0.5242 GB, free: 13.25 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.009255, allocations: 0 / 0.5242 GB, free: 13.25 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.009258, allocations: 0 / 0.5242 GB, free: 13.25 MB / 458.7 MB 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.0005517/0.00981, allocations: 0.5853 MB / 0.5248 GB, free: 12.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.009848, allocations: 12.72 kB / 0.5248 GB, free: 12.59 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.009987, allocations: 28.88 kB / 0.5248 GB, free: 12.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.0102, allocations: 181.8 kB / 0.525 GB, free: 12.36 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.01022, allocations: 16.31 kB / 0.525 GB, free: 12.35 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.01024, allocations: 9.438 kB / 0.525 GB, free: 12.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003255/0.01349, allocations: 158.3 kB / 0.5252 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.0135, allocations: 3.781 kB / 0.5252 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.01352, allocations: 8.312 kB / 0.5252 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.01352, allocations: 3.938 kB / 0.5252 GB, free: 12.15 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.01362, allocations: 87.38 kB / 0.5253 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.01414, allocations: 364.1 kB / 0.5256 GB, free: 11.67 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.01428, allocations: 110.4 kB / 0.5257 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.909e-05/0.01436, allocations: 103.2 kB / 0.5258 GB, free: 11.42 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.01438, allocations: 4 kB / 0.5258 GB, free: 11.42 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.01455, allocations: 216.2 kB / 0.526 GB, free: 11.17 MB / 458.7 MB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.01455, allocations: 0.5625 kB / 0.526 GB, free: 11.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004286/0.01498, allocations: 400.6 kB / 0.5264 GB, free: 10.73 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.01504, allocations: 162.2 kB / 0.5266 GB, free: 10.54 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.01517, allocations: 224.2 kB / 0.5268 GB, free: 10.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.0152, allocations: 33.7 kB / 0.5268 GB, free: 10.26 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/0.01527, allocations: 164.5 kB / 0.527 GB, free: 10.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.01529, allocations: 23.73 kB / 0.527 GB, free: 10.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.349e-05/0.01536, allocations: 47.34 kB / 0.527 GB, free: 10.02 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.01549, allocations: 0.4962 MB / 0.5275 GB, free: 9.508 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.856e-05/0.01557, allocations: 135.4 kB / 0.5277 GB, free: 9.352 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.01569, allocations: 215.4 kB / 0.5279 GB, free: 9.086 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.01585, allocations: 282.7 kB / 0.5281 GB, free: 8.742 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.01586, allocations: 0 / 0.5281 GB, free: 8.742 MB / 458.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.003357/0.01921, allocations: 413.7 kB / 0.5285 GB, free: 8.285 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.076e-05/0.01929, allocations: 122.7 kB / 0.5286 GB, free: 8.141 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.0193, allocations: 4 kB / 0.5286 GB, free: 8.137 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.01931, allocations: 2.75 kB / 0.5286 GB, free: 8.137 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.46e-05/0.0194, allocations: 15.98 kB / 0.5287 GB, free: 8.121 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.0194, allocations: 7.938 kB / 0.5287 GB, free: 8.113 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.137e-05/0.01948, allocations: 11.95 kB / 0.5287 GB, free: 8.102 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.0195, allocations: 12 kB / 0.5287 GB, free: 8.09 MB / 458.7 MB 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.0001355/0.01963, allocations: 235.8 kB / 0.5289 GB, free: 7.836 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.01968, allocations: 33.56 kB / 0.529 GB, free: 7.805 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/0.01971, allocations: 13.47 kB / 0.529 GB, free: 7.785 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.01972, allocations: 4 kB / 0.529 GB, free: 7.781 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01972, allocations: 0 / 0.529 GB, free: 7.781 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01972, allocations: 0 / 0.529 GB, free: 7.781 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005345/0.02026, allocations: 0.5484 MB / 0.5295 GB, free: 7.176 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.02026, allocations: 0 / 0.5295 GB, free: 7.176 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.02031, allocations: 8.844 kB / 0.5295 GB, free: 7.168 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.02031, allocations: 3.938 kB / 0.5295 GB, free: 7.164 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.02033, allocations: 8.641 kB / 0.5295 GB, free: 7.156 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.02033, allocations: 0 / 0.5295 GB, free: 7.156 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.02033, allocations: 4.625 kB / 0.5295 GB, free: 7.152 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.02069, allocations: 470.5 kB / 0.53 GB, free: 6.648 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.0207, allocations: 18.78 kB / 0.53 GB, free: 6.633 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.02073, allocations: 11.98 kB / 0.53 GB, free: 6.621 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.0208, allocations: 8 kB / 0.53 GB, free: 6.613 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.02083, allocations: 7.984 kB / 0.53 GB, free: 6.605 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.02085, allocations: 4 kB / 0.53 GB, free: 6.602 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.419e-05/0.02092, allocations: 169.6 kB / 0.5302 GB, free: 6.438 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02092, allocations: 0 / 0.5302 GB, free: 6.438 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002698/0.02119, allocations: 43.06 kB / 0.5302 GB, free: 6.398 MB / 458.7 MB 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.0001827/0.02137, allocations: 122.8 kB / 0.5303 GB, free: 6.277 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000302/0.02168, allocations: 485.2 kB / 0.5308 GB, free: 5.715 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.02168, allocations: 0 / 0.5308 GB, free: 5.715 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.02181, allocations: 229.8 kB / 0.531 GB, free: 5.449 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/0.02508, allocations: 23.11 kB / 0.531 GB, free: 5.43 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006346/0.02571, allocations: 344.6 kB / 0.5314 GB, free: 5.047 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.629e-05/0.02576, allocations: 71.2 kB / 0.5314 GB, free: 4.957 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.911e-05/0.0258, allocations: 16.22 kB / 0.5315 GB, free: 4.945 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.02594, allocations: 118.2 kB / 0.5316 GB, free: 4.828 MB / 458.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02594, allocations: 0 / 0.5316 GB, free: 4.828 MB / 458.7 MB Notification: Performance of Templates: time 0.007691/0.03363, allocations: 2.385 MB / 0.5339 GB, free: 2.637 MB / 458.7 MB " [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: 3.5351907177828252]