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.001387/0.001387, allocations: 88.72 kB / 19.44 MB, free: 356 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.001515/0.001515, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.48/1.48, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.266/1.266, allocations: 154.8 MB / 414.4 MB, free: 472 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.743e-06/1.743e-06, allocations: 0 / 0.5198 GB, free: 2.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.759e-05/2.934e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.003679/0.003708, allocations: 1.606 MB / 0.5214 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.005158, allocations: 0.6569 MB / 0.5221 GB, free: 60 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.579e-05/0.005253, allocations: 0 / 0.5221 GB, free: 60 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.005445, allocations: 27.72 kB / 0.5221 GB, free: 32 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.005726, allocations: 39.86 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.006256, allocations: 120.2 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.006593, allocations: 188.8 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.006718, allocations: 21.58 kB / 0.5224 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003238/0.007042, allocations: 123.7 kB / 0.5226 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.007218, allocations: 72.81 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.007261, allocations: 12 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.007362, allocations: 28.97 kB / 0.5227 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.805e-05/0.00746, allocations: 35.83 kB / 0.5227 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.007565, allocations: 59.89 kB / 0.5228 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.007922, allocations: 196.4 kB / 0.5229 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.007928, allocations: 3.984 kB / 0.5229 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.52e-07/0.007928, allocations: 0.9688 kB / 0.5229 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.007936, allocations: 0 / 0.5229 GB, free: 15.15 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.0008549/0.008791, allocations: 489.2 kB / 0.5234 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.008835, allocations: 12.03 kB / 0.5234 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/0.009088, allocations: 30.06 kB / 0.5235 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.009543, allocations: 186.3 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.009567, allocations: 8.375 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.009603, allocations: 22.12 kB / 0.5237 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.009965, allocations: 169.6 kB / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.009975, allocations: 192 / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.009999, allocations: 8.125 kB / 0.5238 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.01, allocations: 1.625 kB / 0.5238 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.01027, allocations: 127.3 kB / 0.524 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007438/0.01101, allocations: 341.5 kB / 0.5243 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.0113, allocations: 141.9 kB / 0.5244 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.01152, allocations: 124.8 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.01156, allocations: 8.688 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003991/0.01196, allocations: 239.6 kB / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.674e-06/0.01196, allocations: 0 / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.001032/0.01299, allocations: 492.9 kB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/0.01314, allocations: 166.2 kB / 0.5254 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.01337, allocations: 176.1 kB / 0.5256 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.01341, allocations: 35.52 kB / 0.5256 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.674e-05/0.0135, allocations: 108.4 kB / 0.5257 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.01354, allocations: 27.78 kB / 0.5257 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.295e-05/0.01364, allocations: 41.7 kB / 0.5258 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.01383, allocations: 328.9 kB / 0.5261 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.01406, allocations: 158.8 kB / 0.5262 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.01434, allocations: 213.6 kB / 0.5264 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.01476, allocations: 311.7 kB / 0.5267 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01476, allocations: 1.594 kB / 0.5267 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000871/0.01563, allocations: 484.7 kB / 0.5272 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.01575, allocations: 118.7 kB / 0.5273 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.01576, allocations: 4 kB / 0.5273 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.981e-05/0.01579, allocations: 0.8438 kB / 0.5273 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.01592, allocations: 19.92 kB / 0.5273 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.01592, allocations: 4.656 kB / 0.5273 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.01604, allocations: 20.64 kB / 0.5274 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.01607, allocations: 11.98 kB / 0.5274 GB, free: 10.09 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.0002048/0.01628, allocations: 199.3 kB / 0.5276 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.01634, allocations: 31.78 kB / 0.5276 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.01638, allocations: 13.47 kB / 0.5276 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01638, allocations: 0 / 0.5276 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.01639, allocations: 0 / 0.5276 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.0164, allocations: 7.984 kB / 0.5276 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008927/0.01729, allocations: 0.5741 MB / 0.5282 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.01729, allocations: 4 kB / 0.5282 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.76e-05/0.01736, allocations: 11.98 kB / 0.5282 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.01737, allocations: 4 kB / 0.5282 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.01739, allocations: 11.98 kB / 0.5282 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.0174, allocations: 0 / 0.5282 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.0174, allocations: 0 / 0.5282 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007445/0.01814, allocations: 481.3 kB / 0.5287 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/0.01817, allocations: 11.91 kB / 0.5287 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.0182, allocations: 4 kB / 0.5287 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.01832, allocations: 4 kB / 0.5287 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.01838, allocations: 15.92 kB / 0.5287 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.0184, allocations: 7.984 kB / 0.5287 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001553/0.01856, allocations: 137.7 kB / 0.5288 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01856, allocations: 7.625 kB / 0.5288 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000342/0.0189, allocations: 31.94 kB / 0.5289 GB, free: 8.445 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.0003199/0.01922, allocations: 125.7 kB / 0.529 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007704/0.01999, allocations: 0.518 MB / 0.5295 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01999, allocations: 0 / 0.5295 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.02031, allocations: 242.2 kB / 0.5297 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.02068, allocations: 32.19 kB / 0.5298 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008054/0.02149, allocations: 361.6 kB / 0.5301 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.02162, allocations: 93.3 kB / 0.5302 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.446e-05/0.02171, allocations: 25.39 kB / 0.5302 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.869e-05/0.02176, allocations: 16.5 kB / 0.5302 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.02176, allocations: 0.5625 kB / 0.5302 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of Templates: time 0.006855/0.02861, allocations: 2.196 MB / 0.5324 GB, free: 4.848 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.852586287073791]