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.001129/0.001129, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001195/0.001195, allocations: 173 kB / 23.49 MB, free: 1.055 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.14/1.14, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.8218/0.8218, allocations: 154.8 MB / 415.1 MB, free: 0.5 MB / 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 2.104e-06/2.104e-06, allocations: 0 / 0.5206 GB, free: 2.312 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.177e-05, allocations: 3.859 kB / 0.5206 GB, free: 2.309 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002063/0.002085, allocations: 1.656 MB / 0.5222 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007874/0.002872, allocations: 0.6735 MB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.188e-05/0.002954, allocations: 0 / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.003103, allocations: 23.73 kB / 0.5229 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.003294, allocations: 43.75 kB / 0.5229 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.003573, allocations: 124.7 kB / 0.523 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.003781, allocations: 195.5 kB / 0.5232 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.003889, allocations: 17.61 kB / 0.5232 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.004096, allocations: 112.3 kB / 0.5233 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.784e-05/0.004193, allocations: 72.41 kB / 0.5234 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.004222, allocations: 16.94 kB / 0.5234 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.812e-05/0.00429, allocations: 35.91 kB / 0.5234 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.004362, allocations: 27.86 kB / 0.5235 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.296e-05/0.004424, allocations: 61.36 kB / 0.5235 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.004623, allocations: 151.5 kB / 0.5237 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.004626, allocations: 4 kB / 0.5237 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.01e-07/0.004627, allocations: 0 / 0.5237 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.004631, allocations: 0.9688 kB / 0.5237 GB, free: 15.12 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.0005447/0.005175, allocations: 0.5807 MB / 0.5243 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.005212, allocations: 14 kB / 0.5243 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.005354, allocations: 36.83 kB / 0.5243 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.005584, allocations: 180.6 kB / 0.5245 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.0056, allocations: 13.19 kB / 0.5245 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.00562, allocations: 16.38 kB / 0.5245 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.005821, allocations: 163.1 kB / 0.5247 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.005829, allocations: 192 / 0.5247 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.005843, allocations: 13.12 kB / 0.5247 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.005852, allocations: 0 / 0.5247 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.356e-05/0.005936, allocations: 91.38 kB / 0.5248 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.006361, allocations: 385 kB / 0.5251 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.006473, allocations: 126.4 kB / 0.5252 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.426e-05/0.006557, allocations: 99.84 kB / 0.5253 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.006579, allocations: 11.97 kB / 0.5253 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.006737, allocations: 224.7 kB / 0.5256 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.006738, allocations: 0 / 0.5256 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0004495/0.007188, allocations: 418.7 kB / 0.526 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.007253, allocations: 162.2 kB / 0.5261 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.007401, allocations: 231.2 kB / 0.5263 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.007419, allocations: 33.7 kB / 0.5264 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.007483, allocations: 155.1 kB / 0.5265 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.007506, allocations: 27.78 kB / 0.5265 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.007556, allocations: 43.36 kB / 0.5266 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.007674, allocations: 0.4962 MB / 0.5271 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.313e-05/0.007757, allocations: 144 kB / 0.5272 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.007877, allocations: 216.3 kB / 0.5274 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.008035, allocations: 290.3 kB / 0.5277 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.008038, allocations: 4 kB / 0.5277 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002984/0.008336, allocations: 425.3 kB / 0.5281 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.282e-05/0.008389, allocations: 118.8 kB / 0.5282 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.008395, allocations: 4.688 kB / 0.5282 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.008409, allocations: 4 kB / 0.5282 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.734e-05/0.008486, allocations: 16.91 kB / 0.5282 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.008493, allocations: 7.984 kB / 0.5282 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.041e-05/0.008543, allocations: 20.39 kB / 0.5283 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.008557, allocations: 9.031 kB / 0.5283 GB, free: 9.832 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.0001074/0.008664, allocations: 231.9 kB / 0.5285 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.008693, allocations: 29.06 kB / 0.5285 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.008717, allocations: 17.45 kB / 0.5285 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.008719, allocations: 0 / 0.5285 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.008722, allocations: 0 / 0.5285 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.008725, allocations: 4.625 kB / 0.5285 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.009143, allocations: 0.5827 MB / 0.5291 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.009144, allocations: 0 / 0.5291 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/0.009178, allocations: 15.42 kB / 0.5291 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.00918, allocations: 0 / 0.5291 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.009192, allocations: 8 kB / 0.5291 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.009194, allocations: 0 / 0.5291 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.009196, allocations: 4.141 kB / 0.5291 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.009506, allocations: 494.4 kB / 0.5296 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.009518, allocations: 15.84 kB / 0.5296 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.009542, allocations: 7.984 kB / 0.5296 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.419e-05/0.009596, allocations: 8 kB / 0.5296 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.00964, allocations: 10.8 kB / 0.5297 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.009651, allocations: 8 kB / 0.5297 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.071e-05/0.009732, allocations: 173.6 kB / 0.5298 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009732, allocations: 0 / 0.5298 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001925/0.009924, allocations: 28 kB / 0.5299 GB, free: 8.098 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.0001749/0.0101, allocations: 135.9 kB / 0.53 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003134/0.01041, allocations: 0.4901 MB / 0.5305 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01041, allocations: 0 / 0.5305 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.01054, allocations: 229.8 kB / 0.5307 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.01076, allocations: 27.92 kB / 0.5307 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005989/0.01136, allocations: 347.3 kB / 0.531 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.853e-05/0.0114, allocations: 68.19 kB / 0.5311 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.284e-05/0.01144, allocations: 17 kB / 0.5311 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.01147, allocations: 21.98 kB / 0.5311 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of SimCode: time 7.12e-07/0.01147, allocations: 0 / 0.5311 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of Templates: time 0.003933/0.01541, allocations: 2.195 MB / 0.5333 GB, free: 4.57 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: 3.9406184579711407]