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.0008076/0.0008076, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.000812/0.000812, allocations: 174.3 kB / 23.21 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.8747/0.8747, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6735/0.6735, allocations: 154.6 MB / 414.5 MB, free: 0.8281 MB / 378.7 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 179] 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.593e-06/1.593e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.849e-05, allocations: 4.812 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.00292/0.002938, allocations: 1.634 MB / 0.6209 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000876/0.003814, allocations: 0.6465 MB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.066e-05/0.003895, allocations: 3.938 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.004062, allocations: 19.86 kB / 0.6216 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.00428, allocations: 47.64 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.004678, allocations: 127.6 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.004942, allocations: 191.5 kB / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.005069, allocations: 17.61 kB / 0.6219 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.005299, allocations: 119.8 kB / 0.622 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.005406, allocations: 71.78 kB / 0.6221 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.005436, allocations: 16 kB / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-05/0.005513, allocations: 31.94 kB / 0.6222 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.6e-05/0.005589, allocations: 31.91 kB / 0.6222 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.005656, allocations: 59.89 kB / 0.6222 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.005883, allocations: 195.4 kB / 0.6224 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.005887, allocations: 0 / 0.6224 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.794e-06/0.005889, allocations: 0 / 0.6224 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.005893, allocations: 0 / 0.6224 GB, free: 9.984 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.0005325/0.006425, allocations: 492.4 kB / 0.6229 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.00646, allocations: 12.03 kB / 0.6229 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.006596, allocations: 24.88 kB / 0.6229 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.006867, allocations: 177.7 kB / 0.6231 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.006884, allocations: 16.31 kB / 0.6231 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.006904, allocations: 12.38 kB / 0.6231 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.007137, allocations: 169.6 kB / 0.6233 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.007144, allocations: 4.172 kB / 0.6233 GB, free: 9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.00716, allocations: 12.11 kB / 0.6233 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.007164, allocations: 3.938 kB / 0.6233 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.007295, allocations: 127.3 kB / 0.6234 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.007733, allocations: 344.2 kB / 0.6238 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.007892, allocations: 137.9 kB / 0.6239 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.008004, allocations: 124.2 kB / 0.624 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.008029, allocations: 7.969 kB / 0.624 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.008226, allocations: 234.1 kB / 0.6242 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.008227, allocations: 4 kB / 0.6242 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0005262/0.008753, allocations: 487.7 kB / 0.6247 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.008818, allocations: 166.2 kB / 0.6249 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.008942, allocations: 176.2 kB / 0.625 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.00896, allocations: 29.7 kB / 0.6251 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.009017, allocations: 112.3 kB / 0.6252 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.00904, allocations: 23.8 kB / 0.6252 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.009091, allocations: 37.7 kB / 0.6252 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.129e-05/0.009172, allocations: 326.8 kB / 0.6255 GB, free: 6.461 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.00929, allocations: 166.8 kB / 0.6257 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.00942, allocations: 213.6 kB / 0.6259 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.009624, allocations: 312.9 kB / 0.6262 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.009627, allocations: 4 kB / 0.6262 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003593/0.009986, allocations: 466.9 kB / 0.6267 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.567e-05/0.01004, allocations: 121 kB / 0.6268 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01005, allocations: 256 / 0.6268 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.01006, allocations: 8 kB / 0.6268 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.7e-05/0.01014, allocations: 15.98 kB / 0.6268 GB, free: 4.969 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.01015, allocations: 11.92 kB / 0.6268 GB, free: 4.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.524e-05/0.0102, allocations: 15.95 kB / 0.6268 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.01022, allocations: 8 kB / 0.6268 GB, free: 4.934 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.0001157/0.01033, allocations: 194.2 kB / 0.627 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.01035, allocations: 19.84 kB / 0.627 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.01038, allocations: 21.73 kB / 0.6271 GB, free: 4.684 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01038, allocations: 0 / 0.6271 GB, free: 4.684 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.01039, allocations: 8 kB / 0.6271 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.01039, allocations: 3.938 kB / 0.6271 GB, free: 4.672 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.01086, allocations: 0.5789 MB / 0.6276 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01087, allocations: 0 / 0.6276 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.0109, allocations: 11.98 kB / 0.6276 GB, free: 4.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01091, allocations: 4 kB / 0.6276 GB, free: 4.016 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.01092, allocations: 7.938 kB / 0.6277 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.01092, allocations: 3.938 kB / 0.6277 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01092, allocations: 0 / 0.6277 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.01127, allocations: 474.1 kB / 0.6281 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.29e-05/0.01129, allocations: 11.91 kB / 0.6281 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.01131, allocations: 4 kB / 0.6281 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.931e-05/0.01137, allocations: 15.98 kB / 0.6281 GB, free: 3.469 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.01141, allocations: 3.984 kB / 0.6281 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.01142, allocations: 8 kB / 0.6282 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.466e-05/0.01149, allocations: 141.9 kB / 0.6283 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01149, allocations: 0 / 0.6283 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002132/0.01171, allocations: 36 kB / 0.6283 GB, free: 3.285 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.0001935/0.0119, allocations: 122 kB / 0.6284 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003721/0.01227, allocations: 0.5195 MB / 0.6289 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01227, allocations: 4.125 kB / 0.6289 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.01242, allocations: 246.1 kB / 0.6292 GB, free: 2.27 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.01264, allocations: 23.55 kB / 0.6292 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/0.01311, allocations: 371.3 kB / 0.6296 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.361e-05/0.01317, allocations: 93.31 kB / 0.6296 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.0132, allocations: 20.5 kB / 0.6297 GB, free: 1.711 MB / 0.5886 GB Notification: Performance of SimCode: time 5.41e-07/0.0132, allocations: 0 / 0.6297 GB, free: 1.711 MB / 0.5886 GB Notification: Performance of Templates: time 0.003001/0.0162, allocations: 2.23 MB / 0.6318 GB, free: 15.52 MB / 0.6042 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.084162543527782] Failed to read output from testmodel.py, exit status != 0: 0.022210227325558662 0.030169988000000002 0.02240995 Calling exit ...