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.0008171/0.0008171, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.001044/0.001044, allocations: 203.8 kB / 23 MB, free: 3.109 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 0.8938/0.8938, allocations: 230.6 MB / 256.8 MB, free: 3.48 MB / 202.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-531:190: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-531:198: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.7229/0.7229, allocations: 203.8 MB / 0.5049 GB, free: 0.7148 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009356/0.0009356, allocations: 67.89 kB / 0.7195 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4317, allocations: 102 MB / 0.8191 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.003077/0.4348, allocations: 1.647 MB / 0.8207 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.4359, allocations: 0.694 MB / 0.8214 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.436, allocations: 6.375 kB / 0.8214 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.4362, allocations: 12.59 kB / 0.8214 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.4365, allocations: 50.03 kB / 0.8214 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.4369, allocations: 131.2 kB / 0.8216 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.4372, allocations: 184.4 kB / 0.8217 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.4373, allocations: 17.55 kB / 0.8217 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.4376, allocations: 100.6 kB / 0.8218 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.4377, allocations: 84.8 kB / 0.8219 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.4378, allocations: 14.34 kB / 0.8219 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.4379, allocations: 34.12 kB / 0.822 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.438, allocations: 32.33 kB / 0.822 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.763e-05/0.4381, allocations: 79.94 kB / 0.8221 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.4384, allocations: 170.1 kB / 0.8222 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4384, allocations: 1.094 kB / 0.8222 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.083e-06/0.4384, allocations: 0 / 0.8222 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.4384, allocations: 1.156 kB / 0.8222 GB, free: 23.24 MB / 0.6355 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.0005773/0.439, allocations: 0.5013 MB / 0.8227 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.439, allocations: 9.781 kB / 0.8227 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.4392, allocations: 25.77 kB / 0.8228 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.4394, allocations: 173.5 kB / 0.8229 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.4394, allocations: 10.41 kB / 0.8229 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.4395, allocations: 13.09 kB / 0.823 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.4397, allocations: 123 kB / 0.8231 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.4397, allocations: 0.5625 kB / 0.8231 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.4397, allocations: 6.719 kB / 0.8231 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4397, allocations: 5.5 kB / 0.8231 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.4399, allocations: 69.27 kB / 0.8231 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005218/0.4404, allocations: 389.2 kB / 0.8235 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.4405, allocations: 81.27 kB / 0.8236 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.4407, allocations: 66.62 kB / 0.8237 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.4407, allocations: 2.453 kB / 0.8237 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.4409, allocations: 182.4 kB / 0.8238 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.995e-06/0.4409, allocations: 0 / 0.8238 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.000588/0.4415, allocations: 358.9 kB / 0.8242 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.4416, allocations: 169.9 kB / 0.8243 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.4417, allocations: 172.6 kB / 0.8245 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.4417, allocations: 33.38 kB / 0.8245 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.4417, allocations: 116.1 kB / 0.8246 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.4418, allocations: 25.22 kB / 0.8247 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.4418, allocations: 41.12 kB / 0.8247 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.878e-05/0.4419, allocations: 334.5 kB / 0.825 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.356e-05/0.442, allocations: 50.62 kB / 0.8251 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.4421, allocations: 101.6 kB / 0.8252 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.4423, allocations: 317 kB / 0.8255 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4423, allocations: 0 / 0.8255 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003437/0.4426, allocations: 355.6 kB / 0.8258 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.094e-05/0.4427, allocations: 117.4 kB / 0.8259 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.4427, allocations: 1.281 kB / 0.8259 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4427, allocations: 3.75 kB / 0.8259 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.15e-05/0.4428, allocations: 25.11 kB / 0.826 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4428, allocations: 3.25 kB / 0.826 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.556e-05/0.4428, allocations: 22.06 kB / 0.826 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.4429, allocations: 8.656 kB / 0.826 GB, free: 20.29 MB / 0.6355 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 9.78e-05/0.443, allocations: 198.6 kB / 0.8262 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.443, allocations: 16.25 kB / 0.8262 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.443, allocations: 15.86 kB / 0.8262 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.443, allocations: 1.438 kB / 0.8262 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.443, allocations: 4.656 kB / 0.8262 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.443, allocations: 5.953 kB / 0.8262 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.4435, allocations: 0.5594 MB / 0.8268 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4435, allocations: 0.6562 kB / 0.8268 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.954e-05/0.4436, allocations: 11.02 kB / 0.8268 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.4436, allocations: 2.141 kB / 0.8268 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.4436, allocations: 5.797 kB / 0.8268 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.4436, allocations: 4.969 kB / 0.8268 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4436, allocations: 8.453 kB / 0.8268 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.4439, allocations: 407.9 kB / 0.8272 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.4439, allocations: 16.75 kB / 0.8272 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.444, allocations: 8.156 kB / 0.8272 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.466e-05/0.444, allocations: 8.75 kB / 0.8272 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.4441, allocations: 12.81 kB / 0.8272 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.4441, allocations: 13.05 kB / 0.8272 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.891e-05/0.4441, allocations: 131.2 kB / 0.8274 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4441, allocations: 0 / 0.8274 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002122/0.4443, allocations: 35.84 kB / 0.8274 GB, free: 19.26 MB / 0.6355 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.0002084/0.4446, allocations: 144.8 kB / 0.8275 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003193/0.4449, allocations: 353.7 kB / 0.8279 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4449, allocations: 0 / 0.8279 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.445, allocations: 187.3 kB / 0.8281 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.4452, allocations: 17.59 kB / 0.8281 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/0.4457, allocations: 332.6 kB / 0.8284 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.4458, allocations: 0.7054 MB / 0.8291 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.4459, allocations: 17.05 kB / 0.8291 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.4459, allocations: 0 / 0.8291 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of Templates: time 0.004245/0.4501, allocations: 2.192 MB / 0.8312 GB, free: 17.5 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.874087336938828] Failed to read output from testmodel.py, exit status != 0: 0.45628481078892946 0.465534592 0.025310123 Calling exit ...