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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 190.8 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 251 MB, free: 13.03 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.8763/0.8763, allocations: 134 MB / 440.3 MB, free: 0.6211 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002054/0.002054, allocations: 68.95 kB / 0.6107 GB, free: 13.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1913, allocations: 84.73 MB / 0.6935 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.004325/0.1956, allocations: 1.62 MB / 0.6951 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.1971, allocations: 0.6233 MB / 0.6957 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.019e-05/0.1972, allocations: 4 kB / 0.6957 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.1974, allocations: 23.78 kB / 0.6957 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.1977, allocations: 51.75 kB / 0.6957 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.1982, allocations: 111.7 kB / 0.6958 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003785/0.1986, allocations: 183.6 kB / 0.696 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1987, allocations: 21.31 kB / 0.696 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.199, allocations: 91.73 kB / 0.6961 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.1992, allocations: 83.72 kB / 0.6962 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.337e-05/0.1992, allocations: 12 kB / 0.6962 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.1993, allocations: 32 kB / 0.6962 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.1994, allocations: 31.91 kB / 0.6963 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.1996, allocations: 75.64 kB / 0.6963 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.1999, allocations: 175.3 kB / 0.6965 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1999, allocations: 0 / 0.6965 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2, allocations: 0 / 0.6965 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2, allocations: 4 kB / 0.6965 GB, free: 5.887 MB / 0.5137 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.0009352/0.2009, allocations: 492.4 kB / 0.697 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.2009, allocations: 12.03 kB / 0.697 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.732e-05/0.201, allocations: 24.84 kB / 0.697 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004996/0.2015, allocations: 174.5 kB / 0.6972 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.2016, allocations: 4.375 kB / 0.6972 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.2016, allocations: 16.38 kB / 0.6972 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.202, allocations: 121.7 kB / 0.6973 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.202, allocations: 4 kB / 0.6973 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.2021, allocations: 0 / 0.6973 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2021, allocations: 4 kB / 0.6973 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.2024, allocations: 67.94 kB / 0.6974 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009655/0.2034, allocations: 391.6 kB / 0.6978 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.2036, allocations: 78.53 kB / 0.6978 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.2039, allocations: 68.81 kB / 0.6979 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.2039, allocations: 0 / 0.6979 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003854/0.2043, allocations: 186.7 kB / 0.6981 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/0.2043, allocations: 4 kB / 0.6981 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.001125/0.2054, allocations: 360.9 kB / 0.6984 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.2056, allocations: 166.2 kB / 0.6986 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.2058, allocations: 182.6 kB / 0.6988 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.2058, allocations: 29.7 kB / 0.6988 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.2059, allocations: 108.4 kB / 0.6989 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.206, allocations: 19.86 kB / 0.6989 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.2061, allocations: 41.7 kB / 0.699 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.2063, allocations: 330.8 kB / 0.6993 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.2065, allocations: 55.95 kB / 0.6993 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.2067, allocations: 102.8 kB / 0.6994 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/0.2073, allocations: 308.9 kB / 0.6997 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2073, allocations: 0 / 0.6997 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000887/0.2082, allocations: 356.1 kB / 0.7001 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.2083, allocations: 119.1 kB / 0.7002 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2083, allocations: 4 kB / 0.7002 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.2083, allocations: 7.984 kB / 0.7002 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.2085, allocations: 12 kB / 0.7002 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.2085, allocations: 7.984 kB / 0.7002 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.2086, allocations: 15.89 kB / 0.7002 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.2087, allocations: 12 kB / 0.7002 GB, free: 1.68 MB / 0.5137 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.00024/0.2089, allocations: 198.7 kB / 0.7004 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.209, allocations: 19.89 kB / 0.7004 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.774e-05/0.209, allocations: 17.41 kB / 0.7005 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.2091, allocations: 0 / 0.7005 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.2091, allocations: 4 kB / 0.7005 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2091, allocations: 0 / 0.7005 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.2102, allocations: 0.5635 MB / 0.701 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2102, allocations: 0 / 0.701 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.2103, allocations: 15.92 kB / 0.701 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.2104, allocations: 4 kB / 0.701 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.2104, allocations: 8 kB / 0.701 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.2104, allocations: 4 kB / 0.701 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2104, allocations: 7.875 kB / 0.7011 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00098/0.2114, allocations: 410.7 kB / 0.7014 GB, free: 336 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.2114, allocations: 19.89 kB / 0.7015 GB, free: 316 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.467e-05/0.2115, allocations: 4 kB / 0.7015 GB, free: 312 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.2117, allocations: 12 kB / 0.7015 GB, free: 300 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.2117, allocations: 11.92 kB / 0.7015 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.2117, allocations: 8 kB / 0.7015 GB, free: 280 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001675/0.2119, allocations: 134.1 kB / 0.7016 GB, free: 148 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2119, allocations: 0 / 0.7016 GB, free: 148 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005555/0.2125, allocations: 36 kB / 0.7017 GB, free: 112 kB / 0.5137 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.0003793/0.2129, allocations: 129.5 kB / 0.7018 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009067/0.2138, allocations: 357.5 kB / 0.7021 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2138, allocations: 0 / 0.7021 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004354/0.2142, allocations: 182.7 kB / 0.7023 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.2147, allocations: 16.5 kB / 0.7023 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009709/0.2157, allocations: 292 kB / 0.7026 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.2162, allocations: 0.7041 MB / 0.7033 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.2163, allocations: 20.47 kB / 0.7033 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.098e-05/0.2164, allocations: 19.44 kB / 0.7033 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.2164, allocations: 4 kB / 0.7033 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.009986/0.2264, allocations: 2.134 MB / 0.7054 GB, free: 12.17 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.710559731349349] Failed to read output from testmodel.py, exit status != 0: 0.2363395569846034 0.264159723 0.058691971 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f072d8b97b0>