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.0008012/0.0008012, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.000797/0.000797, allocations: 177.9 kB / 23.22 MB, free: 1.352 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 0.8622/0.8622, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.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.6999/0.6999, allocations: 154.6 MB / 414.5 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.102e-05, allocations: 2.844 kB / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.001927/0.001948, allocations: 1.619 MB / 0.6209 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007487/0.002697, allocations: 0.6504 MB / 0.6215 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.002765, allocations: 3.938 kB / 0.6215 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.002904, allocations: 19.86 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.003084, allocations: 43.7 kB / 0.6216 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.003413, allocations: 131.6 kB / 0.6217 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000199/0.003612, allocations: 187.6 kB / 0.6219 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.808e-05/0.00371, allocations: 17.62 kB / 0.6219 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.003895, allocations: 115.8 kB / 0.622 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.063e-05/0.003986, allocations: 79.84 kB / 0.6221 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.004011, allocations: 12 kB / 0.6221 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.387e-05/0.004075, allocations: 31.94 kB / 0.6221 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.754e-05/0.004142, allocations: 31.89 kB / 0.6221 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.054e-05/0.004203, allocations: 63.77 kB / 0.6222 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.004418, allocations: 191.5 kB / 0.6224 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.00442, allocations: 0 / 0.6224 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.71e-07/0.004421, allocations: 3.938 kB / 0.6224 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.004425, allocations: 0 / 0.6224 GB, free: 10.03 MB / 0.5886 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.0007521/0.005177, allocations: 492.4 kB / 0.6228 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.005214, allocations: 13.47 kB / 0.6229 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.005339, allocations: 24.83 kB / 0.6229 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.005566, allocations: 177.7 kB / 0.6231 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.005577, allocations: 8.375 kB / 0.6231 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.005597, allocations: 20.36 kB / 0.6231 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.005801, allocations: 169.5 kB / 0.6232 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.005809, allocations: 192 / 0.6232 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.005824, allocations: 12.12 kB / 0.6233 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.005829, allocations: 0 / 0.6233 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.005955, allocations: 131.3 kB / 0.6234 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.006358, allocations: 340.2 kB / 0.6237 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.006492, allocations: 141.9 kB / 0.6238 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.945e-05/0.006592, allocations: 124.2 kB / 0.624 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.006613, allocations: 11.94 kB / 0.624 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.006783, allocations: 238.2 kB / 0.6242 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.006784, allocations: 0 / 0.6242 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.000486/0.00727, allocations: 483.7 kB / 0.6247 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.007329, allocations: 162.2 kB / 0.6248 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.007442, allocations: 176.2 kB / 0.625 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.007458, allocations: 33.7 kB / 0.625 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.007511, allocations: 112.3 kB / 0.6251 GB, free: 6.906 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.007533, allocations: 31.78 kB / 0.6252 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.007579, allocations: 37.7 kB / 0.6252 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.49e-05/0.007654, allocations: 322.8 kB / 0.6255 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.007763, allocations: 166.8 kB / 0.6257 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.008134, allocations: 209 kB / 0.6259 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.008327, allocations: 317.2 kB / 0.6262 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.008329, allocations: 0 / 0.6262 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003265/0.008655, allocations: 479 kB / 0.6266 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.008703, allocations: 122.7 kB / 0.6267 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.008708, allocations: 4 kB / 0.6267 GB, free: 5.027 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.008719, allocations: 0 / 0.6267 GB, free: 5.027 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.715e-05/0.008786, allocations: 19.98 kB / 0.6268 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.008791, allocations: 0 / 0.6268 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.006e-05/0.008841, allocations: 11.95 kB / 0.6268 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.008859, allocations: 15.98 kB / 0.6268 GB, free: 4.98 MB / 0.5886 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.0001063/0.008965, allocations: 205.3 kB / 0.627 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.008986, allocations: 27.91 kB / 0.627 GB, free: 4.734 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.009009, allocations: 9.469 kB / 0.627 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.009011, allocations: 4 kB / 0.627 GB, free: 4.719 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.009015, allocations: 3.938 kB / 0.627 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.00902, allocations: 3.984 kB / 0.627 GB, free: 4.711 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.009448, allocations: 0.575 MB / 0.6276 GB, free: 4.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.00945, allocations: 0 / 0.6276 GB, free: 4.074 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-05/0.009478, allocations: 11.98 kB / 0.6276 GB, free: 4.062 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.009481, allocations: 0 / 0.6276 GB, free: 4.062 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.009494, allocations: 15.98 kB / 0.6276 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.009495, allocations: 0 / 0.6276 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.009496, allocations: 0 / 0.6276 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.009812, allocations: 470 kB / 0.6281 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.366e-05/0.009826, allocations: 15.91 kB / 0.6281 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.009847, allocations: 4 kB / 0.6281 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.195e-05/0.009899, allocations: 8 kB / 0.6281 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.009937, allocations: 11.98 kB / 0.6281 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.009947, allocations: 4 kB / 0.6281 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.059e-05/0.01002, allocations: 137.7 kB / 0.6282 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01002, allocations: 0 / 0.6282 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002066/0.01022, allocations: 36 kB / 0.6283 GB, free: 3.336 MB / 0.5886 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.0001688/0.01039, allocations: 129 kB / 0.6284 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003332/0.01073, allocations: 0.5231 MB / 0.6289 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.01073, allocations: 3.938 kB / 0.6289 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.01087, allocations: 242.1 kB / 0.6291 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.01107, allocations: 27.92 kB / 0.6292 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.01149, allocations: 367.3 kB / 0.6295 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.106e-05/0.01155, allocations: 101.8 kB / 0.6296 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.01158, allocations: 12.5 kB / 0.6296 GB, free: 1.754 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/0.01158, allocations: 4 kB / 0.6296 GB, free: 1.75 MB / 0.5886 GB Notification: Performance of Templates: time 0.002707/0.01429, allocations: 2.229 MB / 0.6318 GB, free: 15.55 MB / 0.6042 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.3583861803635955] Failed to read output from testmodel.py, exit status != 0: 0.019401876255869865 0.026682683000000002 0.02072349 Calling exit ...