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.000949/0.000949, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001063/0.001063, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.032/1.032, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.7731/0.7731, allocations: 154.6 MB / 415.6 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. " [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.223e-06/1.223e-06, allocations: 0 / 0.5215 GB, free: 1.934 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.799e-05, allocations: 6.312 kB / 0.5215 GB, free: 1.926 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002221/0.002239, allocations: 1.655 MB / 0.5231 GB, free: 288 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008377/0.003076, allocations: 0.6568 MB / 0.5238 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.866e-05/0.003155, allocations: 3.938 kB / 0.5238 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.0033, allocations: 20.92 kB / 0.5238 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.003471, allocations: 47.69 kB / 0.5238 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.003777, allocations: 124.3 kB / 0.524 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.003989, allocations: 196.8 kB / 0.5242 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.621e-05/0.004085, allocations: 21.61 kB / 0.5242 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.004285, allocations: 115.8 kB / 0.5243 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.809e-05/0.004383, allocations: 76.91 kB / 0.5244 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.004408, allocations: 12 kB / 0.5244 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.704e-05/0.004475, allocations: 39.91 kB / 0.5244 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.301e-05/0.004538, allocations: 28.69 kB / 0.5244 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.305e-05/0.004591, allocations: 51.91 kB / 0.5245 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.004769, allocations: 148.4 kB / 0.5246 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004771, allocations: 0 / 0.5246 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.42e-07/0.004772, allocations: 2.562 kB / 0.5246 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.004775, allocations: 0 / 0.5246 GB, free: 14.75 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.0004772/0.005252, allocations: 0.5885 MB / 0.5252 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.005283, allocations: 8.031 kB / 0.5252 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.005407, allocations: 32.84 kB / 0.5252 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.005595, allocations: 181.1 kB / 0.5254 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.005608, allocations: 8.375 kB / 0.5254 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.005627, allocations: 17.56 kB / 0.5254 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.005784, allocations: 150.2 kB / 0.5256 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.005791, allocations: 4.75 kB / 0.5256 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.005802, allocations: 4.375 kB / 0.5256 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.005809, allocations: 8.531 kB / 0.5256 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.014e-05/0.005869, allocations: 83.31 kB / 0.5257 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.006244, allocations: 369.6 kB / 0.526 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.006354, allocations: 110.4 kB / 0.5261 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.551e-05/0.006419, allocations: 95.56 kB / 0.5262 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.006437, allocations: 4.969 kB / 0.5262 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.006597, allocations: 223.9 kB / 0.5264 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.552e-06/0.006598, allocations: 0.8438 kB / 0.5264 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0004191/0.007017, allocations: 387.7 kB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/0.00709, allocations: 170.8 kB / 0.527 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.007225, allocations: 231.2 kB / 0.5272 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.007242, allocations: 30.8 kB / 0.5272 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.007303, allocations: 155.1 kB / 0.5274 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.007328, allocations: 35.7 kB / 0.5274 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.007377, allocations: 44.06 kB / 0.5275 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.007492, allocations: 0.504 MB / 0.5279 GB, free: 11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.902e-05/0.007561, allocations: 128.4 kB / 0.5281 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.653e-05/0.007658, allocations: 207.5 kB / 0.5283 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.0078, allocations: 290 kB / 0.5285 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007802, allocations: 4 kB / 0.5285 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002734/0.008076, allocations: 404.6 kB / 0.5289 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.129e-05/0.008127, allocations: 125.6 kB / 0.5291 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.008133, allocations: 4.078 kB / 0.5291 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.008143, allocations: 4 kB / 0.5291 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.542e-05/0.008208, allocations: 19.97 kB / 0.5291 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.008212, allocations: 3.984 kB / 0.5291 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.293e-05/0.008265, allocations: 19.89 kB / 0.5291 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.008278, allocations: 11.94 kB / 0.5291 GB, free: 9.586 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.0001132/0.008392, allocations: 242.4 kB / 0.5293 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.008422, allocations: 27.84 kB / 0.5294 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.008447, allocations: 13.45 kB / 0.5294 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.008449, allocations: 4 kB / 0.5294 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.00845, allocations: 0 / 0.5294 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.008454, allocations: 0 / 0.5294 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.008838, allocations: 0.5437 MB / 0.5299 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.008839, allocations: 1.406 kB / 0.5299 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-05/0.008874, allocations: 11.98 kB / 0.5299 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.00888, allocations: 3.938 kB / 0.5299 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.008896, allocations: 12 kB / 0.5299 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.008899, allocations: 9.203 kB / 0.53 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.0089, allocations: 0 / 0.53 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.009188, allocations: 466.5 kB / 0.5304 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.009201, allocations: 16.69 kB / 0.5304 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.009223, allocations: 8 kB / 0.5304 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.205e-05/0.009275, allocations: 11.05 kB / 0.5304 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.009309, allocations: 4 kB / 0.5304 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.009321, allocations: 15.92 kB / 0.5305 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.406e-05/0.009385, allocations: 161.6 kB / 0.5306 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.009385, allocations: 0 / 0.5306 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002091/0.009595, allocations: 35.94 kB / 0.5306 GB, free: 7.91 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.0001817/0.009776, allocations: 127 kB / 0.5308 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003106/0.01009, allocations: 476.6 kB / 0.5312 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.01009, allocations: 0 / 0.5312 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.01022, allocations: 233.8 kB / 0.5314 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.01042, allocations: 28.58 kB / 0.5315 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005222/0.01095, allocations: 334.3 kB / 0.5318 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.964e-05/0.01099, allocations: 72.86 kB / 0.5319 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.115e-05/0.01102, allocations: 4.5 kB / 0.5319 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.01114, allocations: 126.1 kB / 0.532 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.01114, allocations: 1.812 kB / 0.532 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of Templates: time 0.004185/0.01532, allocations: 2.41 MB / 0.5343 GB, free: 4.117 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.9077486051246524]