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.001758/0.001758, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.00198/0.00198, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.45/1.45, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.167/1.167, allocations: 154.6 MB / 413.8 MB, free: 5.223 MB / 382.1 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 178] 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.092e-06/1.092e-06, allocations: 0 / 0.6186 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.667e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.003207/0.003234, allocations: 1.629 MB / 0.6202 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.004554, allocations: 0.6494 MB / 0.6208 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.067e-05/0.004635, allocations: 4 kB / 0.6208 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.004784, allocations: 16.55 kB / 0.6208 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.005025, allocations: 55.62 kB / 0.6209 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.005501, allocations: 125.2 kB / 0.621 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.005819, allocations: 191.5 kB / 0.6212 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.005941, allocations: 17.62 kB / 0.6212 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003042/0.006246, allocations: 113 kB / 0.6213 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.006394, allocations: 71.84 kB / 0.6214 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.006437, allocations: 12 kB / 0.6214 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.006541, allocations: 37.23 kB / 0.6214 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.309e-05/0.006634, allocations: 35.84 kB / 0.6214 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.006735, allocations: 55.89 kB / 0.6215 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.007044, allocations: 195.4 kB / 0.6217 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.00705, allocations: 4 kB / 0.6217 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.32e-07/0.007051, allocations: 0 / 0.6217 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.007057, allocations: 4 kB / 0.6217 GB, free: 1.355 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.0007597/0.007817, allocations: 492.4 kB / 0.6222 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.007861, allocations: 8.031 kB / 0.6222 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.008062, allocations: 28.78 kB / 0.6222 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.008432, allocations: 185.7 kB / 0.6224 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.008452, allocations: 8.375 kB / 0.6224 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.00848, allocations: 12.38 kB / 0.6224 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.008826, allocations: 177.5 kB / 0.6226 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.008836, allocations: 192 / 0.6226 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.008857, allocations: 8.125 kB / 0.6226 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.008862, allocations: 0 / 0.6226 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.009105, allocations: 127.3 kB / 0.6227 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006936/0.009798, allocations: 352.2 kB / 0.623 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.01005, allocations: 129.9 kB / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.01024, allocations: 124.2 kB / 0.6233 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.01027, allocations: 11.92 kB / 0.6233 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00033/0.0106, allocations: 230.1 kB / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.01061, allocations: 0 / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0008844/0.01149, allocations: 491.8 kB / 0.624 GB, free: 14.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.01161, allocations: 162.2 kB / 0.6241 GB, free: 14.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.0118, allocations: 176.2 kB / 0.6243 GB, free: 14.39 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.01183, allocations: 29.7 kB / 0.6243 GB, free: 14.35 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.598e-05/0.01193, allocations: 112.3 kB / 0.6244 GB, free: 14.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.01196, allocations: 31.72 kB / 0.6245 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.711e-05/0.01204, allocations: 41.7 kB / 0.6245 GB, free: 14.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.01221, allocations: 326.8 kB / 0.6248 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.01242, allocations: 158.8 kB / 0.625 GB, free: 13.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.01269, allocations: 221.6 kB / 0.6252 GB, free: 13.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.01309, allocations: 308.9 kB / 0.6255 GB, free: 13.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.0131, allocations: 4 kB / 0.6255 GB, free: 13.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006692/0.01376, allocations: 462.9 kB / 0.6259 GB, free: 12.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.01387, allocations: 118.8 kB / 0.626 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.01387, allocations: 4 kB / 0.626 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.01389, allocations: 0 / 0.626 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.01401, allocations: 24.17 kB / 0.6261 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.01401, allocations: 4 kB / 0.6261 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.01412, allocations: 19.95 kB / 0.6261 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.01414, allocations: 11.97 kB / 0.6261 GB, free: 12.3 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.0001853/0.01433, allocations: 199 kB / 0.6263 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.01437, allocations: 23.84 kB / 0.6263 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.01441, allocations: 21.47 kB / 0.6263 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.01442, allocations: 3.984 kB / 0.6263 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01442, allocations: 0 / 0.6263 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.01443, allocations: 0 / 0.6263 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008163/0.01524, allocations: 0.5789 MB / 0.6269 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01525, allocations: 0 / 0.6269 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.666e-05/0.01531, allocations: 11.98 kB / 0.6269 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.01531, allocations: 0 / 0.6269 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.01534, allocations: 7.984 kB / 0.6269 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01534, allocations: 0 / 0.6269 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01534, allocations: 4.281 kB / 0.6269 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006815/0.01602, allocations: 473.9 kB / 0.6274 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.01604, allocations: 15.91 kB / 0.6274 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.01608, allocations: 8 kB / 0.6274 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.01619, allocations: 8 kB / 0.6274 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.01624, allocations: 11.97 kB / 0.6274 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.01626, allocations: 7.984 kB / 0.6274 GB, free: 10.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001241/0.01638, allocations: 134 kB / 0.6275 GB, free: 10.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01638, allocations: 0 / 0.6275 GB, free: 10.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002967/0.01668, allocations: 36 kB / 0.6276 GB, free: 10.66 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.0002637/0.01694, allocations: 126.5 kB / 0.6277 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006531/0.0176, allocations: 0.5191 MB / 0.6282 GB, free: 9.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.0176, allocations: 0 / 0.6282 GB, free: 9.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.01789, allocations: 238.7 kB / 0.6284 GB, free: 9.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.01823, allocations: 35.8 kB / 0.6285 GB, free: 9.625 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007081/0.01894, allocations: 349.4 kB / 0.6288 GB, free: 9.242 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.01904, allocations: 89.31 kB / 0.6289 GB, free: 9.137 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.326e-05/0.0191, allocations: 20.47 kB / 0.6289 GB, free: 9.117 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/0.01915, allocations: 24.48 kB / 0.6289 GB, free: 9.094 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.01915, allocations: 0 / 0.6289 GB, free: 9.094 MB / 0.545 GB Notification: Performance of Templates: time 0.006333/0.02548, allocations: 2.176 MB / 0.631 GB, free: 6.988 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.713613647967577] Failed to read output from testmodel.py, exit status != 0: 0.03471983224153519 0.050030579000000006 0.03978889 Calling exit ...