Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008062/0.0008062, allocations: 81.95 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.0009525/0.0009525, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9944/0.9944, allocations: 177.1 MB / 203.7 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7675/0.7675, allocations: 154.6 MB / 414.8 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Utilities.IO.Files.Examples.CSVWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5208 GB, free: 1.867 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.734e-05, allocations: 6.094 kB / 0.5208 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002119/0.002136, allocations: 1.652 MB / 0.5224 GB, free: 228 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008535/0.00299, allocations: 0.6648 MB / 0.523 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.339e-05/0.003073, allocations: 0 / 0.523 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.003231, allocations: 27.73 kB / 0.523 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.00341, allocations: 44.5 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.00372, allocations: 128.9 kB / 0.5232 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.003903, allocations: 187.6 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.003998, allocations: 26.94 kB / 0.5234 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.004188, allocations: 115.8 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.877e-05/0.004277, allocations: 67.86 kB / 0.5236 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.004303, allocations: 12 kB / 0.5236 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.56e-05/0.004368, allocations: 41.81 kB / 0.5236 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.004432, allocations: 35.84 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.999e-05/0.004482, allocations: 47.91 kB / 0.5237 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.004652, allocations: 151.5 kB / 0.5239 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004654, allocations: 2.094 kB / 0.5239 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.52e-07/0.004655, allocations: 0 / 0.5239 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.004658, allocations: 0 / 0.5239 GB, free: 14.69 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.0004993/0.005158, allocations: 0.5807 MB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.005196, allocations: 12.03 kB / 0.5244 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.005326, allocations: 37.36 kB / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.005506, allocations: 181.8 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.005518, allocations: 4.375 kB / 0.5247 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.005535, allocations: 16.38 kB / 0.5247 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.005681, allocations: 155 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.005687, allocations: 192 / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.005696, allocations: 1.531 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.005701, allocations: 11.88 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.906e-05/0.00576, allocations: 95.23 kB / 0.5249 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.006096, allocations: 361.1 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.29e-05/0.006188, allocations: 120 kB / 0.5254 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.001e-05/0.006248, allocations: 99.05 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.006267, allocations: 0 / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.006404, allocations: 220.9 kB / 0.5257 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.006405, allocations: 0 / 0.5257 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0003679/0.006773, allocations: 395.6 kB / 0.5261 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.006836, allocations: 162.9 kB / 0.5262 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.006963, allocations: 227.2 kB / 0.5264 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.00698, allocations: 38.97 kB / 0.5265 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.007039, allocations: 151.1 kB / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.007061, allocations: 27.77 kB / 0.5266 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/0.007111, allocations: 52.09 kB / 0.5267 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.00723, allocations: 0.4962 MB / 0.5272 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.592e-05/0.007296, allocations: 135.6 kB / 0.5273 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.349e-05/0.007389, allocations: 204.2 kB / 0.5275 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.007528, allocations: 288.4 kB / 0.5278 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.00753, allocations: 0 / 0.5278 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002568/0.007787, allocations: 410 kB / 0.5282 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.071e-05/0.007837, allocations: 126.7 kB / 0.5283 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.007845, allocations: 0 / 0.5283 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.007858, allocations: 4 kB / 0.5283 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.00792, allocations: 19.92 kB / 0.5283 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.007926, allocations: 4.062 kB / 0.5283 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.882e-05/0.007975, allocations: 19.89 kB / 0.5283 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.007987, allocations: 8 kB / 0.5283 GB, free: 9.523 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.0001116/0.008098, allocations: 244.6 kB / 0.5286 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.008126, allocations: 27.84 kB / 0.5286 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.008155, allocations: 25.39 kB / 0.5286 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.008157, allocations: 0.5625 kB / 0.5286 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.008159, allocations: 0 / 0.5286 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.008162, allocations: 0.9688 kB / 0.5286 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.008511, allocations: 0.5437 MB / 0.5292 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.008512, allocations: 4.5 kB / 0.5292 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.00854, allocations: 8.703 kB / 0.5292 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.008546, allocations: 7.938 kB / 0.5292 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.008557, allocations: 8.484 kB / 0.5292 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008558, allocations: 2.812 kB / 0.5292 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.008559, allocations: 0 / 0.5292 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.008827, allocations: 466.5 kB / 0.5296 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.008838, allocations: 15.84 kB / 0.5297 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.008857, allocations: 4 kB / 0.5297 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.133e-05/0.008908, allocations: 11.98 kB / 0.5297 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.008939, allocations: 7.984 kB / 0.5297 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.008949, allocations: 8 kB / 0.5297 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.742e-05/0.009007, allocations: 164 kB / 0.5298 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009007, allocations: 0 / 0.5298 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000186/0.009193, allocations: 39.92 kB / 0.5299 GB, free: 7.844 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.0001472/0.00934, allocations: 128.1 kB / 0.53 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.00959, allocations: 480.3 kB / 0.5305 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009592, allocations: 1.156 kB / 0.5305 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.009697, allocations: 233.8 kB / 0.5307 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.00989, allocations: 25.39 kB / 0.5307 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.01038, allocations: 337.8 kB / 0.531 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.722e-05/0.01041, allocations: 67.33 kB / 0.5311 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.01045, allocations: 17.12 kB / 0.5311 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.01056, allocations: 118.8 kB / 0.5312 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.01056, allocations: 0 / 0.5312 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of Templates: time 0.003676/0.01424, allocations: 2.382 MB / 0.5336 GB, free: 4.094 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.sim & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6154644289053977]