Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001541/0.001541, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001801/0.001801, allocations: 216.8 kB / 23.01 MB, free: 4.609 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002572/0.002572, allocations: 282.2 kB / 313.5 MB, free: 2.863 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.177/1.177, allocations: 180.6 MB / 0.5377 GB, free: 13.09 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002829/0.002829, allocations: 101.7 kB / 0.7408 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1876, allocations: 95.39 MB / 0.834 GB, free: 8.219 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.003458/0.1911, allocations: 1.651 MB / 0.8356 GB, free: 6.555 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1924, allocations: 0.6974 MB / 0.8362 GB, free: 5.852 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.193e-05/0.1925, allocations: 3.938 kB / 0.8363 GB, free: 5.848 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.1926, allocations: 27.8 kB / 0.8363 GB, free: 5.82 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.1929, allocations: 44.75 kB / 0.8363 GB, free: 5.777 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.1934, allocations: 123.7 kB / 0.8364 GB, free: 5.656 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.1937, allocations: 195.5 kB / 0.8366 GB, free: 5.465 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1938, allocations: 17.62 kB / 0.8366 GB, free: 5.441 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.1941, allocations: 91.75 kB / 0.8367 GB, free: 5.352 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.1942, allocations: 87.72 kB / 0.8368 GB, free: 5.266 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.1943, allocations: 12 kB / 0.8368 GB, free: 5.254 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 9.01e-05/0.1943, allocations: 31.98 kB / 0.8369 GB, free: 5.223 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 8.443e-05/0.1944, allocations: 35.84 kB / 0.8369 GB, free: 5.188 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 9.859e-05/0.1945, allocations: 79.7 kB / 0.837 GB, free: 5.109 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.1948, allocations: 175.3 kB / 0.8371 GB, free: 4.938 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1948, allocations: 0 / 0.8371 GB, free: 4.938 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1948, allocations: 0 / 0.8371 GB, free: 4.938 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.1948, allocations: 0 / 0.8371 GB, free: 4.938 MB / 0.5763 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.0007454/0.1956, allocations: 0.4926 MB / 0.8376 GB, free: 4.391 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1956, allocations: 9.344 kB / 0.8376 GB, free: 4.383 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.1958, allocations: 28.88 kB / 0.8377 GB, free: 4.355 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.1961, allocations: 174.4 kB / 0.8378 GB, free: 4.16 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.1962, allocations: 16.38 kB / 0.8378 GB, free: 4.145 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.1962, allocations: 8.375 kB / 0.8378 GB, free: 4.137 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.1965, allocations: 125.7 kB / 0.838 GB, free: 4.008 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1965, allocations: 3.938 kB / 0.838 GB, free: 4.004 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.1965, allocations: 4 kB / 0.838 GB, free: 4 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1965, allocations: 0 / 0.838 GB, free: 4 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.1967, allocations: 71.88 kB / 0.838 GB, free: 3.93 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006889/0.1974, allocations: 387.6 kB / 0.8384 GB, free: 3.508 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.1976, allocations: 86.55 kB / 0.8385 GB, free: 3.414 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.1977, allocations: 68.81 kB / 0.8386 GB, free: 3.344 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.1977, allocations: 0 / 0.8386 GB, free: 3.344 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002715/0.198, allocations: 178.9 kB / 0.8387 GB, free: 3.145 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.198, allocations: 4 kB / 0.8387 GB, free: 3.141 MB / 0.5763 GB Notification: Performance of matching and sorting (n=10): time 0.0007551/0.1988, allocations: 360.7 kB / 0.8391 GB, free: 2.77 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.1989, allocations: 166.2 kB / 0.8392 GB, free: 2.57 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.1991, allocations: 179.6 kB / 0.8394 GB, free: 2.383 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.1991, allocations: 29.7 kB / 0.8394 GB, free: 2.348 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.1992, allocations: 112.3 kB / 0.8395 GB, free: 2.23 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.1992, allocations: 27.78 kB / 0.8396 GB, free: 2.203 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.1993, allocations: 41.7 kB / 0.8396 GB, free: 2.156 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1994, allocations: 330.8 kB / 0.8399 GB, free: 1.824 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.1996, allocations: 51.95 kB / 0.84 GB, free: 1.773 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.1997, allocations: 103.6 kB / 0.8401 GB, free: 1.648 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.2001, allocations: 316.9 kB / 0.8404 GB, free: 1.277 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.2001, allocations: 0 / 0.8404 GB, free: 1.277 MB / 0.5763 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005443/0.2006, allocations: 348.2 kB / 0.8407 GB, free: 0.9062 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 9.9e-05/0.2007, allocations: 122.8 kB / 0.8408 GB, free: 0.7617 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2007, allocations: 256 / 0.8408 GB, free: 0.7617 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.2008, allocations: 8 kB / 0.8408 GB, free: 0.7539 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.2009, allocations: 19.92 kB / 0.8408 GB, free: 0.7344 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.2009, allocations: 4 kB / 0.8409 GB, free: 0.7305 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.783e-05/0.201, allocations: 11.95 kB / 0.8409 GB, free: 0.7188 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.201, allocations: 12 kB / 0.8409 GB, free: 0.707 MB / 0.5763 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.0001802/0.2012, allocations: 209.6 kB / 0.8411 GB, free: 492 kB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.2012, allocations: 15.91 kB / 0.8411 GB, free: 476 kB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.902e-05/0.2013, allocations: 13.41 kB / 0.8411 GB, free: 460 kB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2013, allocations: 4 kB / 0.8411 GB, free: 456 kB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2013, allocations: 0 / 0.8411 GB, free: 456 kB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2013, allocations: 3.984 kB / 0.8411 GB, free: 452 kB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00077/0.2021, allocations: 0.5594 MB / 0.8417 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2021, allocations: 0 / 0.8417 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.168e-05/0.2021, allocations: 11.98 kB / 0.8417 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2021, allocations: 288 / 0.8417 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.2021, allocations: 8 kB / 0.8417 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2021, allocations: 4 kB / 0.8417 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.2021, allocations: 11.86 kB / 0.8417 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005609/0.2027, allocations: 414.6 kB / 0.8421 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.2027, allocations: 11.91 kB / 0.8421 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.2028, allocations: 4 kB / 0.8421 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.2029, allocations: 8 kB / 0.8421 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.2029, allocations: 15.92 kB / 0.8421 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.2029, allocations: 11.98 kB / 0.8421 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001131/0.203, allocations: 129.2 kB / 0.8423 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.203, allocations: 0 / 0.8423 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002876/0.2033, allocations: 35.94 kB / 0.8423 GB, free: 15.14 MB / 0.5919 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.0002519/0.2036, allocations: 134.5 kB / 0.8424 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005124/0.2041, allocations: 361.3 kB / 0.8428 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2041, allocations: 0 / 0.8428 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.2043, allocations: 179.3 kB / 0.8429 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.2046, allocations: 23.98 kB / 0.843 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006676/0.2053, allocations: 326.1 kB / 0.8433 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.2057, allocations: 0.708 MB / 0.844 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.2057, allocations: 15.44 kB / 0.844 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.2057, allocations: 0 / 0.844 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of Templates: time 0.004642/0.2103, allocations: 2.204 MB / 0.8461 GB, free: 11.09 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.472066984977573] Failed to read output from testmodel.py, exit status != 0: 0.21795327006839216 0.232666279 0.034893718000000004 Calling exit ...