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.001799/0.001799, allocations: 80.59 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001674/0.001674, allocations: 170.1 kB / 22.46 MB, free: 5.355 MB / 14.72 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.422/1.422, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 1.203/1.203, allocations: 154.5 MB / 413.7 MB, free: 5.289 MB / 382.1 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 178] 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 2.284e-06/2.284e-06, allocations: 0 / 0.6185 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.217e-05/3.445e-05, allocations: 4.672 kB / 0.6185 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.003648/0.003682, allocations: 1.618 MB / 0.6201 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.00512, allocations: 0.6486 MB / 0.6207 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.005236, allocations: 4 kB / 0.6207 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.005418, allocations: 19.8 kB / 0.6208 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.005693, allocations: 47.7 kB / 0.6208 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005706/0.006264, allocations: 131.6 kB / 0.6209 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003458/0.006609, allocations: 187.6 kB / 0.6211 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.006759, allocations: 13.64 kB / 0.6211 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.007094, allocations: 119.8 kB / 0.6212 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.007261, allocations: 67.84 kB / 0.6213 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.772e-05/0.007309, allocations: 12 kB / 0.6213 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.007421, allocations: 35.94 kB / 0.6213 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.007522, allocations: 35.89 kB / 0.6214 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.007627, allocations: 59.83 kB / 0.6214 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.007979, allocations: 199.4 kB / 0.6216 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.007983, allocations: 0 / 0.6216 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.032e-06/0.007984, allocations: 3.938 kB / 0.6216 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.00799, allocations: 0 / 0.6216 GB, free: 1.465 MB / 0.5294 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.0008288/0.008819, allocations: 492.4 kB / 0.6221 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.008859, allocations: 9.469 kB / 0.6221 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.009071, allocations: 32.84 kB / 0.6221 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000433/0.009504, allocations: 173.7 kB / 0.6223 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.009527, allocations: 16.31 kB / 0.6223 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.009559, allocations: 12.36 kB / 0.6223 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.009931, allocations: 177.5 kB / 0.6225 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.009942, allocations: 192 / 0.6225 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.009962, allocations: 4.125 kB / 0.6225 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.009969, allocations: 4 kB / 0.6225 GB, free: 480 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.01023, allocations: 127.3 kB / 0.6226 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007189/0.01095, allocations: 344.2 kB / 0.623 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.01121, allocations: 133.9 kB / 0.6231 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.01142, allocations: 128.2 kB / 0.6232 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.01145, allocations: 7.922 kB / 0.6232 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003663/0.01182, allocations: 242.3 kB / 0.6234 GB, free: 15.39 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/0.01182, allocations: 0 / 0.6234 GB, free: 15.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0009435/0.01276, allocations: 475.6 kB / 0.6239 GB, free: 14.88 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.0129, allocations: 166.2 kB / 0.6241 GB, free: 14.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.01312, allocations: 176.2 kB / 0.6242 GB, free: 14.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.01315, allocations: 29.7 kB / 0.6243 GB, free: 14.46 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.792e-05/0.01325, allocations: 112.3 kB / 0.6244 GB, free: 14.35 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.01329, allocations: 31.77 kB / 0.6244 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.666e-05/0.01338, allocations: 41.7 kB / 0.6244 GB, free: 14.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.01356, allocations: 330.8 kB / 0.6247 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.01378, allocations: 162.8 kB / 0.6249 GB, free: 13.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.01405, allocations: 212.3 kB / 0.6251 GB, free: 13.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.01445, allocations: 312.9 kB / 0.6254 GB, free: 13.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.01445, allocations: 0 / 0.6254 GB, free: 13.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007181/0.01517, allocations: 467.1 kB / 0.6258 GB, free: 12.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.69e-05/0.01527, allocations: 122.8 kB / 0.626 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.01528, allocations: 4.25 kB / 0.626 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.0153, allocations: 7.938 kB / 0.626 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.01542, allocations: 15.98 kB / 0.626 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.01542, allocations: 4 kB / 0.626 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.01553, allocations: 15.95 kB / 0.626 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.01556, allocations: 11.98 kB / 0.626 GB, free: 12.42 MB / 0.545 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.0001824/0.01574, allocations: 194.1 kB / 0.6262 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.01578, allocations: 23.84 kB / 0.6262 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.01583, allocations: 21.45 kB / 0.6263 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01583, allocations: 4 kB / 0.6263 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.01584, allocations: 7.922 kB / 0.6263 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01584, allocations: 0 / 0.6263 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008084/0.01665, allocations: 0.575 MB / 0.6268 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01665, allocations: 0 / 0.6268 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.653e-05/0.01672, allocations: 11.98 kB / 0.6268 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01672, allocations: 0 / 0.6268 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.01675, allocations: 15.98 kB / 0.6269 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01675, allocations: 0 / 0.6269 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01675, allocations: 0 / 0.6269 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007108/0.01746, allocations: 478 kB / 0.6273 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.01748, allocations: 11.91 kB / 0.6273 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.01752, allocations: 4 kB / 0.6273 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.01764, allocations: 8 kB / 0.6273 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.01769, allocations: 7.984 kB / 0.6273 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.01771, allocations: 11.98 kB / 0.6273 GB, free: 10.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001202/0.01783, allocations: 133.7 kB / 0.6275 GB, free: 10.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01783, allocations: 0 / 0.6275 GB, free: 10.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003054/0.01814, allocations: 32 kB / 0.6275 GB, free: 10.77 MB / 0.545 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.0002868/0.01842, allocations: 128.8 kB / 0.6276 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006916/0.01912, allocations: 0.5235 MB / 0.6281 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01912, allocations: 8 kB / 0.6281 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.01941, allocations: 242.1 kB / 0.6284 GB, free: 9.754 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.01974, allocations: 23.92 kB / 0.6284 GB, free: 9.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006868/0.02042, allocations: 341.4 kB / 0.6287 GB, free: 9.355 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.02053, allocations: 93.31 kB / 0.6288 GB, free: 9.246 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.221e-05/0.0206, allocations: 24.47 kB / 0.6288 GB, free: 9.223 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.356e-05/0.02065, allocations: 16.48 kB / 0.6289 GB, free: 9.207 MB / 0.545 GB Notification: Performance of SimCode: time 6.72e-07/0.02065, allocations: 0 / 0.6289 GB, free: 9.207 MB / 0.545 GB Notification: Performance of Templates: time 0.00668/0.02733, allocations: 2.185 MB / 0.631 GB, free: 7.094 MB / 0.545 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.795394506305456] Failed to read output from testmodel.py, exit status != 0: 0.0375312976539135 0.057133111 0.043850678000000004 Calling exit ...