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.0008408/0.0008408, allocations: 104.3 kB / 19.7 MB, free: 0.5664 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.0008284/0.0008284, allocations: 211.2 kB / 23 MB, free: 3.066 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.9226/0.9226, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.7503/0.7503, allocations: 203.8 MB / 0.5049 GB, free: 10.48 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.0008918/0.0008918, allocations: 74.62 kB / 0.7194 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.453, allocations: 102 MB / 0.819 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.001915/0.455, allocations: 1.625 MB / 0.8206 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006685/0.4556, allocations: 0.6494 MB / 0.8212 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.167e-05/0.4557, allocations: 3.938 kB / 0.8212 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.4558, allocations: 18.38 kB / 0.8212 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.456, allocations: 44.45 kB / 0.8213 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.4563, allocations: 130.7 kB / 0.8214 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000198/0.4565, allocations: 187 kB / 0.8216 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.826e-05/0.4566, allocations: 17.72 kB / 0.8216 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.4567, allocations: 95.23 kB / 0.8217 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.4568, allocations: 82.09 kB / 0.8218 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.4569, allocations: 11.81 kB / 0.8218 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.247e-05/0.4569, allocations: 33.91 kB / 0.8218 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.403e-05/0.457, allocations: 36.2 kB / 0.8219 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.602e-05/0.4571, allocations: 64.41 kB / 0.8219 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.4573, allocations: 174.5 kB / 0.8221 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4573, allocations: 0 / 0.8221 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4573, allocations: 1.281 kB / 0.8221 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.4573, allocations: 0 / 0.8221 GB, free: 15.4 MB / 0.6198 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.0005257/0.4578, allocations: 0.4905 MB / 0.8226 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.4578, allocations: 13.75 kB / 0.8226 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.458, allocations: 28.75 kB / 0.8226 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.4582, allocations: 179.7 kB / 0.8228 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.4582, allocations: 10.59 kB / 0.8228 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.4582, allocations: 11.78 kB / 0.8228 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.4584, allocations: 177.3 kB / 0.823 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.4584, allocations: 0 / 0.823 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.4584, allocations: 5.75 kB / 0.823 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.4584, allocations: 2.531 kB / 0.823 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.4586, allocations: 124.7 kB / 0.8231 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.459, allocations: 348.1 kB / 0.8234 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.4591, allocations: 134.8 kB / 0.8236 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.4592, allocations: 131.5 kB / 0.8237 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.4593, allocations: 5.828 kB / 0.8237 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.4595, allocations: 232.1 kB / 0.8239 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.4595, allocations: 0 / 0.8239 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0005263/0.46, allocations: 482 kB / 0.8244 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.46, allocations: 166.2 kB / 0.8245 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.4602, allocations: 176.3 kB / 0.8247 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.4602, allocations: 29.83 kB / 0.8247 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.4602, allocations: 124.4 kB / 0.8248 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.4603, allocations: 21.17 kB / 0.8249 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.4603, allocations: 43.69 kB / 0.8249 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.4604, allocations: 327.4 kB / 0.8252 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.4605, allocations: 163.2 kB / 0.8254 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.4606, allocations: 214.8 kB / 0.8256 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.4608, allocations: 314.1 kB / 0.8259 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4608, allocations: 0 / 0.8259 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003684/0.4612, allocations: 477.2 kB / 0.8263 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.003e-05/0.4613, allocations: 116.1 kB / 0.8264 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4613, allocations: 1.188 kB / 0.8264 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.4613, allocations: 3.312 kB / 0.8264 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.078e-05/0.4614, allocations: 16.61 kB / 0.8265 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.4614, allocations: 6.906 kB / 0.8265 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.38e-05/0.4614, allocations: 22.45 kB / 0.8265 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.4614, allocations: 9.562 kB / 0.8265 GB, free: 11.64 MB / 0.6198 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.0001057/0.4615, allocations: 202.5 kB / 0.8267 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.4616, allocations: 21.91 kB / 0.8267 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.4616, allocations: 19.34 kB / 0.8267 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4616, allocations: 1.156 kB / 0.8267 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4616, allocations: 0.5156 kB / 0.8267 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.4616, allocations: 0.7031 kB / 0.8267 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005699/0.4622, allocations: 0.5764 MB / 0.8273 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4622, allocations: 0.5625 kB / 0.8273 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.4622, allocations: 11.05 kB / 0.8273 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4622, allocations: 4.703 kB / 0.8273 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.4622, allocations: 7.719 kB / 0.8273 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.4622, allocations: 3.938 kB / 0.8273 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4622, allocations: 0 / 0.8273 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.4626, allocations: 471.9 kB / 0.8278 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.4626, allocations: 15.02 kB / 0.8278 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.4626, allocations: 10.53 kB / 0.8278 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.723e-05/0.4627, allocations: 4.922 kB / 0.8278 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.4627, allocations: 8.219 kB / 0.8278 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.4627, allocations: 15.83 kB / 0.8278 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.575e-05/0.4628, allocations: 135.7 kB / 0.828 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.4628, allocations: 0 / 0.828 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001961/0.463, allocations: 37.28 kB / 0.828 GB, free: 10.52 MB / 0.6198 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.0001825/0.4632, allocations: 129.6 kB / 0.8281 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003899/0.4636, allocations: 0.5157 MB / 0.8286 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4636, allocations: 0 / 0.8286 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.4637, allocations: 244.8 kB / 0.8288 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.464, allocations: 27.53 kB / 0.8289 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/0.4644, allocations: 387.6 kB / 0.8292 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.879e-05/0.4645, allocations: 96.78 kB / 0.8293 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.487e-05/0.4646, allocations: 15.98 kB / 0.8294 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.4646, allocations: 0 / 0.8294 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of Templates: time 0.003708/0.4683, allocations: 2.228 MB / 0.8315 GB, free: 9.051 MB / 0.6198 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.7673118631355464] Failed to read output from testmodel.py, exit status != 0: 0.4736028416082263 0.48313954899999995 0.023799773 Calling exit ...