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.001394/0.001394, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.00167/0.00167, allocations: 216.2 kB / 22.24 MB, free: 5.098 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.836 MB / 206.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.308/1.308, allocations: 203.8 MB / 0.5041 GB, free: 4.656 MB / 414.1 MB " [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: 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.002496/0.002496, allocations: 67.89 kB / 0.7186 GB, free: 2.012 MB / 0.5763 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6646/0.6671, allocations: 102 MB / 0.8182 GB, free: 28.89 MB / 0.6388 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.003091/0.6702, allocations: 1.617 MB / 0.8198 GB, free: 27.82 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.6715, allocations: 0.6489 MB / 0.8205 GB, free: 27.4 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.6716, allocations: 7.906 kB / 0.8205 GB, free: 27.39 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.6718, allocations: 16.39 kB / 0.8205 GB, free: 27.38 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.0002852/0.6721, allocations: 46.78 kB / 0.8205 GB, free: 27.36 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005293/0.6726, allocations: 130.2 kB / 0.8207 GB, free: 27.29 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.0004281/0.673, allocations: 190.4 kB / 0.8208 GB, free: 27.2 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.6732, allocations: 14.2 kB / 0.8208 GB, free: 27.2 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.6735, allocations: 91.41 kB / 0.8209 GB, free: 27.16 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.6737, allocations: 80.11 kB / 0.821 GB, free: 27.13 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 5.811e-05/0.6738, allocations: 14.03 kB / 0.821 GB, free: 27.13 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.6739, allocations: 33.61 kB / 0.8211 GB, free: 27.12 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.674, allocations: 37.16 kB / 0.8211 GB, free: 27.1 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.6742, allocations: 60.77 kB / 0.8212 GB, free: 27.07 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.0004471/0.6746, allocations: 179.1 kB / 0.8213 GB, free: 27.01 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.6746, allocations: 0.5938 kB / 0.8213 GB, free: 27.01 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.585e-06/0.6746, allocations: 1.094 kB / 0.8213 GB, free: 27.01 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 1.839e-05/0.6746, allocations: 4.5 kB / 0.8213 GB, free: 27 MB / 0.6388 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.0009657/0.6756, allocations: 494.9 kB / 0.8218 GB, free: 26.55 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/0.6757, allocations: 11.39 kB / 0.8218 GB, free: 26.55 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.6759, allocations: 29.58 kB / 0.8218 GB, free: 26.54 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.6764, allocations: 181.2 kB / 0.822 GB, free: 26.38 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.6765, allocations: 7.438 kB / 0.822 GB, free: 26.38 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.455e-05/0.6765, allocations: 11.69 kB / 0.822 GB, free: 26.38 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.6769, allocations: 186 kB / 0.8222 GB, free: 26.25 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.6769, allocations: 0.7969 kB / 0.8222 GB, free: 26.25 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.677, allocations: 2.812 kB / 0.8222 GB, free: 26.25 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.677, allocations: 1.062 kB / 0.8222 GB, free: 26.25 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.6772, allocations: 125.4 kB / 0.8223 GB, free: 26.18 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000753/0.678, allocations: 350.6 kB / 0.8227 GB, free: 25.91 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.6782, allocations: 139.1 kB / 0.8228 GB, free: 25.81 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.6784, allocations: 132.1 kB / 0.8229 GB, free: 25.71 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.6785, allocations: 2.156 kB / 0.8229 GB, free: 25.71 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/0.6788, allocations: 237.3 kB / 0.8232 GB, free: 25.52 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.6788, allocations: 1.5 kB / 0.8232 GB, free: 25.52 MB / 0.6388 GB Notification: Performance of matching and sorting (n=10): time 0.0008293/0.6796, allocations: 484.4 kB / 0.8236 GB, free: 25.22 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.6797, allocations: 167.4 kB / 0.8238 GB, free: 25.03 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.6799, allocations: 179.9 kB / 0.8239 GB, free: 24.9 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.6799, allocations: 29.86 kB / 0.824 GB, free: 24.87 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.6799, allocations: 112.3 kB / 0.8241 GB, free: 24.76 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.68, allocations: 21.39 kB / 0.8241 GB, free: 24.75 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.661e-05/0.6801, allocations: 42.92 kB / 0.8241 GB, free: 24.72 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 7.215e-05/0.6801, allocations: 327.4 kB / 0.8245 GB, free: 24.4 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.6803, allocations: 166.2 kB / 0.8246 GB, free: 24.26 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.6805, allocations: 211.2 kB / 0.8248 GB, free: 24.05 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.6808, allocations: 311.3 kB / 0.8251 GB, free: 23.77 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6808, allocations: 4.438 kB / 0.8251 GB, free: 23.77 MB / 0.6388 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005958/0.6814, allocations: 468.4 kB / 0.8256 GB, free: 23.41 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 7.167e-05/0.6815, allocations: 117.6 kB / 0.8257 GB, free: 23.29 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.6815, allocations: 6.016 kB / 0.8257 GB, free: 23.29 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.6815, allocations: 6.641 kB / 0.8257 GB, free: 23.29 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.6816, allocations: 17.05 kB / 0.8257 GB, free: 23.29 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.6816, allocations: 9.969 kB / 0.8257 GB, free: 23.28 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.6817, allocations: 23.77 kB / 0.8257 GB, free: 23.27 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.6818, allocations: 7.828 kB / 0.8257 GB, free: 23.27 MB / 0.6388 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.0001388/0.6819, allocations: 202.9 kB / 0.8259 GB, free: 23.07 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.6819, allocations: 17.03 kB / 0.826 GB, free: 23.06 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/0.682, allocations: 15.5 kB / 0.826 GB, free: 23.04 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.682, allocations: 5.156 kB / 0.826 GB, free: 23.04 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.682, allocations: 0.6562 kB / 0.826 GB, free: 23.04 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.682, allocations: 5.812 kB / 0.826 GB, free: 23.04 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007469/0.6828, allocations: 0.5791 MB / 0.8265 GB, free: 22.6 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.6828, allocations: 0 / 0.8265 GB, free: 22.6 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.737e-05/0.6828, allocations: 11.94 kB / 0.8266 GB, free: 22.6 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.6828, allocations: 1.375 kB / 0.8266 GB, free: 22.6 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.6828, allocations: 7.391 kB / 0.8266 GB, free: 22.6 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6829, allocations: 0 / 0.8266 GB, free: 22.6 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6829, allocations: 4 kB / 0.8266 GB, free: 22.59 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005931/0.6834, allocations: 469.4 kB / 0.827 GB, free: 22.27 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.6835, allocations: 12.81 kB / 0.827 GB, free: 22.26 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.6835, allocations: 9.328 kB / 0.827 GB, free: 22.26 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.6836, allocations: 7.734 kB / 0.827 GB, free: 22.26 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.6837, allocations: 5.094 kB / 0.8271 GB, free: 22.26 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.6837, allocations: 19.98 kB / 0.8271 GB, free: 22.25 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.0001051/0.6838, allocations: 132.1 kB / 0.8272 GB, free: 22.16 MB / 0.6388 GB Notification: Performance of sort global known variables: time 7e-08/0.6838, allocations: 0 / 0.8272 GB, free: 22.16 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.0003031/0.6841, allocations: 43.41 kB / 0.8272 GB, free: 22.14 MB / 0.6388 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.0002398/0.6843, allocations: 131 kB / 0.8274 GB, free: 22.04 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.0005175/0.6849, allocations: 0.5162 MB / 0.8279 GB, free: 21.56 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6849, allocations: 0 / 0.8279 GB, free: 21.56 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.0002513/0.6851, allocations: 251.8 kB / 0.8281 GB, free: 21.34 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.6854, allocations: 24.33 kB / 0.8281 GB, free: 21.33 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006356/0.6861, allocations: 350.2 kB / 0.8285 GB, free: 21.08 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.6862, allocations: 97.94 kB / 0.8286 GB, free: 21 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 7.908e-05/0.6863, allocations: 20.05 kB / 0.8286 GB, free: 21 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.6863, allocations: 17.97 kB / 0.8286 GB, free: 20.99 MB / 0.6388 GB Notification: Performance of SimCode: time 4.21e-07/0.6863, allocations: 0 / 0.8286 GB, free: 20.99 MB / 0.6388 GB Notification: Performance of Templates: time 0.006711/0.693, allocations: 2.259 MB / 0.8308 GB, free: 20.66 MB / 0.6388 GB " [Timeout remaining time 659] 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: 6.843841098248959] Failed to read output from testmodel.py, exit status != 0: 0.7023087274283171 0.714384891 0.036769656000000005 Calling exit ...