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.001253/0.001253, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001431/0.001431, allocations: 177 kB / 23.36 MB, free: 1.129 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.029/1.029, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.8402/0.8402, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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.613e-06/1.613e-06, allocations: 0 / 480 MB, free: 6.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.964e-05, allocations: 2.969 kB / 480 MB, free: 6.949 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.003198/0.003217, allocations: 1.658 MB / 481.6 MB, free: 5.309 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.004364, allocations: 0.6742 MB / 482.3 MB, free: 4.637 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.38e-05/0.004438, allocations: 0 / 482.3 MB, free: 4.637 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.004577, allocations: 30.64 kB / 482.3 MB, free: 4.609 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.004771, allocations: 45.84 kB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.005202, allocations: 124.1 kB / 482.5 MB, free: 4.449 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.005473, allocations: 195.9 kB / 482.7 MB, free: 4.273 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.792e-05/0.005561, allocations: 18.28 kB / 482.7 MB, free: 4.254 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.005802, allocations: 117 kB / 482.8 MB, free: 4.141 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.005924, allocations: 67.84 kB / 482.9 MB, free: 4.074 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.005955, allocations: 12 kB / 482.9 MB, free: 4.062 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.589e-05/0.006031, allocations: 32.62 kB / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.308e-05/0.006104, allocations: 39.83 kB / 483 MB, free: 3.992 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.007e-05/0.006174, allocations: 48.78 kB / 483 MB, free: 3.945 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.006397, allocations: 155.5 kB / 483.2 MB, free: 3.793 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.006399, allocations: 0.875 kB / 483.2 MB, free: 3.793 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.0064, allocations: 4 kB / 483.2 MB, free: 3.789 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.955e-06/0.006402, allocations: 0.625 kB / 483.2 MB, free: 3.789 MB / 442.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.0004905/0.006893, allocations: 462.1 kB / 483.6 MB, free: 3.293 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.006927, allocations: 12.84 kB / 483.7 MB, free: 3.281 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.007067, allocations: 33.42 kB / 483.7 MB, free: 3.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.007297, allocations: 178.7 kB / 483.9 MB, free: 3.051 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.007315, allocations: 9.969 kB / 483.9 MB, free: 3.043 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.007343, allocations: 21.38 kB / 483.9 MB, free: 3.023 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.007528, allocations: 154.2 kB / 484 MB, free: 2.852 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.007535, allocations: 192 / 484 MB, free: 2.852 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.007549, allocations: 5.531 kB / 484.1 MB, free: 2.848 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.007559, allocations: 7.938 kB / 484.1 MB, free: 2.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.037e-05/0.007639, allocations: 83.31 kB / 484.1 MB, free: 2.746 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.008036, allocations: 237.2 kB / 484.4 MB, free: 2.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.008156, allocations: 106 kB / 484.5 MB, free: 2.375 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.836e-05/0.008244, allocations: 97.31 kB / 484.6 MB, free: 2.266 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.008262, allocations: 4 kB / 484.6 MB, free: 2.262 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.008429, allocations: 203.5 kB / 484.8 MB, free: 2.027 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.00843, allocations: 0 / 484.8 MB, free: 2.027 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003223/0.008753, allocations: 315.7 kB / 485.1 MB, free: 1.676 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.779e-05/0.008841, allocations: 166.9 kB / 485.2 MB, free: 1.477 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.008979, allocations: 179.9 kB / 485.4 MB, free: 1.285 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.008999, allocations: 26.61 kB / 485.4 MB, free: 1.254 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.009053, allocations: 104.3 kB / 485.5 MB, free: 1.145 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.009081, allocations: 28.61 kB / 485.6 MB, free: 1.117 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.57e-05/0.009147, allocations: 41.69 kB / 485.6 MB, free: 1.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.00925, allocations: 326.8 kB / 485.9 MB, free: 0.7422 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-05/0.009343, allocations: 134.5 kB / 486.1 MB, free: 0.5859 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.009464, allocations: 185.6 kB / 486.2 MB, free: 364 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.009652, allocations: 268.6 kB / 486.5 MB, free: 32 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.009654, allocations: 4 kB / 486.5 MB, free: 28 kB / 442.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002983/0.009952, allocations: 350.7 kB / 486.9 MB, free: 15.63 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.825e-05/0.01002, allocations: 128.5 kB / 487 MB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.01003, allocations: 0 / 487 MB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.01004, allocations: 4 kB / 487 MB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.437e-05/0.01011, allocations: 19.92 kB / 487 MB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.01012, allocations: 5.219 kB / 487 MB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.288e-05/0.01019, allocations: 11.94 kB / 487 MB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.01021, allocations: 8 kB / 487 MB, free: 15.43 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.0001323/0.01034, allocations: 189.7 kB / 487.2 MB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.01038, allocations: 19.98 kB / 487.2 MB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.01041, allocations: 21.92 kB / 487.3 MB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01041, allocations: 4 kB / 487.3 MB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.01042, allocations: 5.094 kB / 487.3 MB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.01042, allocations: 0.8438 kB / 487.3 MB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.01079, allocations: 409.4 kB / 487.7 MB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01079, allocations: 0.9375 kB / 487.7 MB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.01082, allocations: 8 kB / 487.7 MB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01083, allocations: 6.281 kB / 487.7 MB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.01084, allocations: 7.984 kB / 487.7 MB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01084, allocations: 0 / 487.7 MB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.01085, allocations: 4 kB / 487.7 MB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.0111, allocations: 334.2 kB / 488 MB, free: 14.33 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.01112, allocations: 7.953 kB / 488 MB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.01115, allocations: 13.47 kB / 488 MB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.846e-05/0.01123, allocations: 6.25 kB / 488 MB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.01127, allocations: 11.98 kB / 488.1 MB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.01128, allocations: 7.984 kB / 488.1 MB, free: 14.29 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.985e-05/0.01133, allocations: 49.19 kB / 488.1 MB, free: 14.24 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01133, allocations: 0 / 488.1 MB, free: 14.24 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002894/0.01162, allocations: 39.89 kB / 488.2 MB, free: 14.2 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.0001957/0.01182, allocations: 114.3 kB / 488.3 MB, free: 14.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003444/0.01216, allocations: 478.7 kB / 488.7 MB, free: 13.54 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.01217, allocations: 0 / 488.7 MB, free: 13.54 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.01232, allocations: 219 kB / 488.9 MB, free: 13.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.01254, allocations: 29.06 kB / 489 MB, free: 13.26 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006611/0.0132, allocations: 336.3 kB / 489.3 MB, free: 12.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.185e-05/0.01325, allocations: 72.39 kB / 489.4 MB, free: 12.81 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.117e-05/0.01329, allocations: 9.109 kB / 489.4 MB, free: 12.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.01344, allocations: 91.34 kB / 489.5 MB, free: 12.71 MB / 458.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01344, allocations: 0.5938 kB / 489.5 MB, free: 12.71 MB / 458.7 MB Notification: Performance of Templates: time 0.004972/0.01842, allocations: 2.314 MB / 491.8 MB, free: 10.63 MB / 458.7 MB " [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.7995829642750323]