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.00117/0.00117, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001737/0.002906, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001176/0.001176, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.002562, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.022/1.022, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09196/1.114, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.7898/0.7898, allocations: 154.6 MB / 398.5 MB, free: 0.5195 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2644/1.054, allocations: 49.04 MB / 447.6 MB, free: 6.684 MB / 426.7 MB " [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.212e-06/1.212e-06, allocations: 0 / 448.9 MB, free: 5.41 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.019e-05, allocations: 2.312 kB / 448.9 MB, free: 5.406 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.001925/0.001945, allocations: 1.711 MB / 450.6 MB, free: 3.73 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006942/0.002639, allocations: 0.6774 MB / 451.3 MB, free: 3.055 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/0.002698, allocations: 4.75 kB / 451.3 MB, free: 3.051 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.135e-05/0.00278, allocations: 23.73 kB / 451.3 MB, free: 3.027 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.002904, allocations: 51.94 kB / 451.3 MB, free: 2.988 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.00315, allocations: 124.4 kB / 451.5 MB, free: 2.867 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.003358, allocations: 187.6 kB / 451.6 MB, free: 2.699 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.498e-05/0.003443, allocations: 18.78 kB / 451.7 MB, free: 2.68 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.003636, allocations: 133.3 kB / 451.8 MB, free: 2.551 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.089e-05/0.003727, allocations: 79.83 kB / 451.9 MB, free: 2.473 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.003752, allocations: 15.94 kB / 451.9 MB, free: 2.457 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.034e-05/0.003822, allocations: 31.94 kB / 451.9 MB, free: 2.426 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.704e-05/0.003879, allocations: 24.8 kB / 451.9 MB, free: 2.402 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.939e-05/0.003928, allocations: 43.92 kB / 452 MB, free: 2.359 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.004088, allocations: 124.1 kB / 452.1 MB, free: 2.238 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.36e-05/0.004101, allocations: 0 / 452.1 MB, free: 2.238 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004102, allocations: 0.75 kB / 452.1 MB, free: 2.238 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.004116, allocations: 0 / 452.1 MB, free: 2.238 MB / 426.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.0007452/0.004861, allocations: 497.7 kB / 452.6 MB, free: 1.707 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.777e-05/0.004889, allocations: 8.031 kB / 452.6 MB, free: 1.699 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.00503, allocations: 112 kB / 452.7 MB, free: 1.574 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.005206, allocations: 173.5 kB / 452.9 MB, free: 1.379 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.00522, allocations: 8.375 kB / 452.9 MB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.005236, allocations: 12.94 kB / 452.9 MB, free: 1.359 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.005394, allocations: 162.9 kB / 453.1 MB, free: 1.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.0054, allocations: 192 / 453.1 MB, free: 1.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.00541, allocations: 1.531 kB / 453.1 MB, free: 1.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.005417, allocations: 7.938 kB / 453.1 MB, free: 1.172 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.839e-05/0.005475, allocations: 88.62 kB / 453.1 MB, free: 1.074 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.005772, allocations: 237.7 kB / 453.4 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.46e-05/0.005857, allocations: 106 kB / 453.5 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.17e-05/0.005909, allocations: 93.27 kB / 453.6 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.005927, allocations: 0 / 453.6 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.006057, allocations: 211.5 kB / 453.8 MB, free: 364 kB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.006058, allocations: 0 / 453.8 MB, free: 364 kB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002478/0.006306, allocations: 327.7 kB / 454.1 MB, free: 15.99 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.006362, allocations: 167.2 kB / 454.3 MB, free: 15.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.006449, allocations: 172.7 kB / 454.4 MB, free: 15.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.006467, allocations: 33.7 kB / 454.5 MB, free: 15.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.006505, allocations: 105.8 kB / 454.6 MB, free: 15.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.006528, allocations: 35.72 kB / 454.6 MB, free: 15.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.006569, allocations: 37.69 kB / 454.6 MB, free: 15.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.596e-05/0.006635, allocations: 322.8 kB / 455 MB, free: 15.06 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.409e-05/0.006699, allocations: 134.5 kB / 455.1 MB, free: 14.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.188e-05/0.006781, allocations: 197.5 kB / 455.3 MB, free: 14.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.006909, allocations: 281.4 kB / 455.6 MB, free: 14.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.006911, allocations: 0 / 455.6 MB, free: 14.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001879/0.007099, allocations: 358.7 kB / 455.9 MB, free: 13.92 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.033e-05/0.007159, allocations: 118.7 kB / 456 MB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.007165, allocations: 4.781 kB / 456 MB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.007177, allocations: 4 kB / 456 MB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.00726, allocations: 20.8 kB / 456.1 MB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.007265, allocations: 4 kB / 456.1 MB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.842e-05/0.007313, allocations: 17 kB / 456.1 MB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.007325, allocations: 4 kB / 456.1 MB, free: 13.73 MB / 442.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 9.823e-05/0.007423, allocations: 192.6 kB / 456.3 MB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.007447, allocations: 21.45 kB / 456.3 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.007476, allocations: 21.39 kB / 456.3 MB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.007478, allocations: 0.625 kB / 456.3 MB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.007481, allocations: 0 / 456.3 MB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.007484, allocations: 0.625 kB / 456.3 MB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.007753, allocations: 414 kB / 456.7 MB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.007755, allocations: 0 / 456.7 MB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.007794, allocations: 8.562 kB / 456.7 MB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.007808, allocations: 19.23 kB / 456.7 MB, free: 13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.007811, allocations: 0 / 456.7 MB, free: 13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.007822, allocations: 8.531 kB / 456.7 MB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.007824, allocations: 0 / 456.7 MB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.007825, allocations: 1.594 kB / 456.7 MB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.008004, allocations: 338.2 kB / 457.1 MB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.008027, allocations: 7.938 kB / 457.1 MB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.087e-05/0.008078, allocations: 8 kB / 457.1 MB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.008107, allocations: 8.891 kB / 457.1 MB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.008117, allocations: 7.984 kB / 457.1 MB, free: 12.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.715e-05/0.008154, allocations: 46.25 kB / 457.2 MB, free: 12.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008154, allocations: 0 / 457.2 MB, free: 12.54 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000161/0.008315, allocations: 44.52 kB / 457.2 MB, free: 12.5 MB / 442.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.000163/0.008478, allocations: 106.2 kB / 457.3 MB, free: 12.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.008742, allocations: 478.2 kB / 457.8 MB, free: 11.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.008751, allocations: 4 kB / 457.8 MB, free: 11.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.008855, allocations: 219 kB / 458 MB, free: 11.58 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.009024, allocations: 40.7 kB / 458 MB, free: 11.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007972/0.009821, allocations: 345.8 kB / 458.4 MB, free: 11.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.456e-05/0.009855, allocations: 67.97 kB / 458.4 MB, free: 11.08 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.525e-05/0.009891, allocations: 17.06 kB / 458.4 MB, free: 11.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.009999, allocations: 92.31 kB / 458.5 MB, free: 10.97 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.009999, allocations: 0 / 458.5 MB, free: 10.97 MB / 442.7 MB Notification: Performance of Templates: time 0.00433/0.01433, allocations: 2.347 MB / 460.9 MB, free: 8.855 MB / 442.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.7105632666498423]