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.001905/0.001905, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002225/0.002225, allocations: 213.6 kB / 22.25 MB, free: 4.855 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.587/1.587, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9443/0.9443, allocations: 134 MB / 446.4 MB, free: 9.914 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: 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.002104/0.002104, allocations: 67.33 kB / 0.619 GB, free: 6.414 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1851, allocations: 85.9 MB / 0.7029 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.003757/0.1888, allocations: 1.615 MB / 0.7044 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.1902, allocations: 0.6507 MB / 0.7051 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.1903, allocations: 7.938 kB / 0.7051 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.1905, allocations: 19.8 kB / 0.7051 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.1908, allocations: 50.97 kB / 0.7051 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.1914, allocations: 119.7 kB / 0.7053 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003678/0.1917, allocations: 191.6 kB / 0.7054 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1919, allocations: 17.62 kB / 0.7055 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002825/0.1922, allocations: 91.75 kB / 0.7055 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.1923, allocations: 83.66 kB / 0.7056 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.402e-05/0.1924, allocations: 12 kB / 0.7056 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.1925, allocations: 39.98 kB / 0.7057 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.932e-05/0.1926, allocations: 31.92 kB / 0.7057 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.1927, allocations: 67.7 kB / 0.7058 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.193, allocations: 175.3 kB / 0.7059 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.193, allocations: 0 / 0.7059 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.794e-06/0.193, allocations: 0 / 0.7059 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.193, allocations: 0 / 0.7059 GB, free: 13.41 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.0008852/0.1939, allocations: 0.4911 MB / 0.7064 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.194, allocations: 8.031 kB / 0.7064 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.1942, allocations: 32.83 kB / 0.7065 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.1946, allocations: 186.4 kB / 0.7066 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1947, allocations: 4.375 kB / 0.7066 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.1947, allocations: 16.38 kB / 0.7066 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.1951, allocations: 169.1 kB / 0.7068 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1951, allocations: 4 kB / 0.7068 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.1951, allocations: 4 kB / 0.7068 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.1951, allocations: 0 / 0.7068 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.1954, allocations: 139.3 kB / 0.7069 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007614/0.1961, allocations: 344.2 kB / 0.7073 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.1964, allocations: 142 kB / 0.7074 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.1966, allocations: 124.2 kB / 0.7075 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.1966, allocations: 4 kB / 0.7075 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003368/0.197, allocations: 242.1 kB / 0.7078 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.197, allocations: 0 / 0.7078 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0009262/0.1979, allocations: 483.5 kB / 0.7082 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.198, allocations: 162.4 kB / 0.7084 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.1982, allocations: 176.8 kB / 0.7086 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.1983, allocations: 33.7 kB / 0.7086 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.501e-05/0.1984, allocations: 116.3 kB / 0.7087 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.1984, allocations: 23.8 kB / 0.7087 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.516e-05/0.1985, allocations: 41.7 kB / 0.7088 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1987, allocations: 330.8 kB / 0.7091 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.1989, allocations: 162.8 kB / 0.7092 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.1992, allocations: 213.6 kB / 0.7094 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.1996, allocations: 313 kB / 0.7097 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1996, allocations: 0 / 0.7097 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007344/0.2003, allocations: 462.9 kB / 0.7102 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.55e-05/0.2004, allocations: 119 kB / 0.7103 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.2004, allocations: 8 kB / 0.7103 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.2005, allocations: 0 / 0.7103 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.2006, allocations: 23.92 kB / 0.7103 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2006, allocations: 0 / 0.7103 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.2007, allocations: 23.88 kB / 0.7103 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.2007, allocations: 8 kB / 0.7103 GB, free: 8.348 MB / 0.5294 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.000184/0.2009, allocations: 193.2 kB / 0.7105 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.2009, allocations: 19.91 kB / 0.7105 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.201, allocations: 17.39 kB / 0.7106 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.201, allocations: 4 kB / 0.7106 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.201, allocations: 0 / 0.7106 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.201, allocations: 0 / 0.7106 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000828/0.2018, allocations: 0.5789 MB / 0.7111 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2018, allocations: 0 / 0.7111 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.805e-05/0.2019, allocations: 11.94 kB / 0.7111 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.2019, allocations: 3.984 kB / 0.7111 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.2019, allocations: 15.92 kB / 0.7112 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2019, allocations: 288 / 0.7112 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2019, allocations: 8 kB / 0.7112 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006738/0.2026, allocations: 470 kB / 0.7116 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.2026, allocations: 11.91 kB / 0.7116 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.2027, allocations: 12 kB / 0.7116 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.2028, allocations: 7.984 kB / 0.7117 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.2028, allocations: 8 kB / 0.7117 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.2029, allocations: 7.984 kB / 0.7117 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001345/0.203, allocations: 137.1 kB / 0.7118 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.203, allocations: 0 / 0.7118 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003315/0.2033, allocations: 43.88 kB / 0.7118 GB, free: 6.691 MB / 0.5294 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.0002586/0.2036, allocations: 118.1 kB / 0.712 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000698/0.2043, allocations: 0.5157 MB / 0.7125 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2043, allocations: 4.062 kB / 0.7125 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.2046, allocations: 246.1 kB / 0.7127 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.2049, allocations: 23.75 kB / 0.7127 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007533/0.2057, allocations: 355.5 kB / 0.7131 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.2058, allocations: 105.6 kB / 0.7132 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.385e-05/0.2059, allocations: 24.47 kB / 0.7132 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.2059, allocations: 11.44 kB / 0.7132 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.2059, allocations: 0 / 0.7132 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of Templates: time 0.00654/0.2124, allocations: 2.246 MB / 0.7154 GB, free: 2.93 MB / 0.5294 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.965504152700305] Failed to read output from testmodel.py, exit status != 0: 0.2213005255907774 0.23972706200000002 0.043364407 Calling exit ...