Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009666/0.0009666, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.001317/0.001317, allocations: 169 kB / 24.14 MB, free: 356 kB / 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 1.145/1.145, allocations: 177.1 MB / 204.6 MB, free: 5.027 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.7321/0.7321, allocations: 115 MB / 376 MB, free: 7.387 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 428.7 MB, free: 2.754 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.884e-05, allocations: 2.312 kB / 428.8 MB, free: 2.75 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002583/0.002602, allocations: 1.708 MB / 430.5 MB, free: 1.027 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.003627, allocations: 0.6775 MB / 431.1 MB, free: 352 kB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.493e-05/0.003722, allocations: 3.938 kB / 431.1 MB, free: 348 kB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.003915, allocations: 19.8 kB / 431.2 MB, free: 328 kB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.004161, allocations: 47.75 kB / 431.2 MB, free: 280 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.004458, allocations: 123.6 kB / 431.3 MB, free: 156 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.004705, allocations: 191.6 kB / 431.5 MB, free: 15.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.004808, allocations: 26.2 kB / 431.5 MB, free: 15.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.005015, allocations: 123.7 kB / 431.7 MB, free: 15.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.005116, allocations: 67.84 kB / 431.7 MB, free: 15.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.005143, allocations: 12 kB / 431.7 MB, free: 15.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-05/0.005217, allocations: 28 kB / 431.8 MB, free: 15.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.991e-05/0.005287, allocations: 31.84 kB / 431.8 MB, free: 15.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.789e-05/0.005345, allocations: 55.89 kB / 431.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.005531, allocations: 155.4 kB / 432 MB, free: 15.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.005533, allocations: 4 kB / 432 MB, free: 15.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005534, allocations: 4 kB / 432 MB, free: 15.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.005539, allocations: 0 / 432 MB, free: 15.46 MB / 410.7 MB 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.0004637/0.006002, allocations: 463 kB / 432.5 MB, free: 14.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.006034, allocations: 12.03 kB / 432.5 MB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.006163, allocations: 28.91 kB / 432.5 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.006392, allocations: 173.5 kB / 432.7 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.006406, allocations: 8.375 kB / 432.7 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.006425, allocations: 16.38 kB / 432.7 MB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.00662, allocations: 166.2 kB / 432.9 MB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.006628, allocations: 192 / 432.9 MB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.00664, allocations: 384 / 432.9 MB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.006647, allocations: 7.938 kB / 432.9 MB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.268e-05/0.00672, allocations: 87.36 kB / 433 MB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.007097, allocations: 238.9 kB / 433.2 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.007202, allocations: 101.9 kB / 433.3 MB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.01e-05/0.007272, allocations: 92.23 kB / 433.4 MB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.007291, allocations: 4 kB / 433.4 MB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.007447, allocations: 214.3 kB / 433.6 MB, free: 13.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.004e-06/0.007449, allocations: 0 / 433.6 MB, free: 13.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.000282/0.007731, allocations: 315.8 kB / 433.9 MB, free: 13.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.772e-05/0.007799, allocations: 170.1 kB / 434.1 MB, free: 13.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.007905, allocations: 171.3 kB / 434.2 MB, free: 12.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.007921, allocations: 29.7 kB / 434.3 MB, free: 12.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.007964, allocations: 100.3 kB / 434.4 MB, free: 12.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.007991, allocations: 35.72 kB / 434.4 MB, free: 12.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.008039, allocations: 37.69 kB / 434.4 MB, free: 12.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.00813, allocations: 326.8 kB / 434.7 MB, free: 12.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.823e-05/0.008209, allocations: 137.6 kB / 434.9 MB, free: 12.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.304e-05/0.008302, allocations: 181.6 kB / 435.1 MB, free: 12.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.008455, allocations: 273.4 kB / 435.3 MB, free: 11.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.008458, allocations: 0 / 435.3 MB, free: 11.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002192/0.008677, allocations: 356.7 kB / 435.7 MB, free: 11.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.841e-05/0.008735, allocations: 122.7 kB / 435.8 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.008741, allocations: 0 / 435.8 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.008753, allocations: 4 kB / 435.8 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.821e-05/0.008821, allocations: 12 kB / 435.8 MB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.008827, allocations: 7.984 kB / 435.8 MB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.008872, allocations: 12.25 kB / 435.8 MB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.008888, allocations: 15.98 kB / 435.8 MB, free: 11.08 MB / 410.7 MB 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.0001008/0.008989, allocations: 199.8 kB / 436 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.009012, allocations: 19.98 kB / 436.1 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.009038, allocations: 21.39 kB / 436.1 MB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.00904, allocations: 0 / 436.1 MB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.009042, allocations: 0 / 436.1 MB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.009045, allocations: 3.938 kB / 436.1 MB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.009309, allocations: 401.5 kB / 436.5 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.009311, allocations: 0 / 436.5 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.991e-05/0.009341, allocations: 11.98 kB / 436.5 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.009343, allocations: 7.938 kB / 436.5 MB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.009355, allocations: 8 kB / 436.5 MB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.009357, allocations: 3.984 kB / 436.5 MB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.009358, allocations: 0 / 436.5 MB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.009556, allocations: 334.2 kB / 436.8 MB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.009567, allocations: 7.953 kB / 436.8 MB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.009589, allocations: 7.938 kB / 436.9 MB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.981e-05/0.009639, allocations: 8 kB / 436.9 MB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.009674, allocations: 7.984 kB / 436.9 MB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.009684, allocations: 7.984 kB / 436.9 MB, free: 9.941 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.286e-05/0.009717, allocations: 45.67 kB / 436.9 MB, free: 9.895 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009717, allocations: 0 / 436.9 MB, free: 9.895 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001655/0.009883, allocations: 47.88 kB / 437 MB, free: 9.848 MB / 410.7 MB 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.0001558/0.01004, allocations: 108.7 kB / 437.1 MB, free: 9.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002771/0.01032, allocations: 476.7 kB / 437.5 MB, free: 9.176 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.01032, allocations: 4 kB / 437.5 MB, free: 9.172 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.01044, allocations: 223 kB / 437.8 MB, free: 8.914 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.0106, allocations: 23.92 kB / 437.8 MB, free: 8.891 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005089/0.01111, allocations: 333.8 kB / 438.1 MB, free: 8.527 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.366e-05/0.01115, allocations: 71.06 kB / 438.2 MB, free: 8.438 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.179e-05/0.01119, allocations: 16.86 kB / 438.2 MB, free: 8.422 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.0113, allocations: 95.33 kB / 438.3 MB, free: 8.328 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.0113, allocations: 0 / 438.3 MB, free: 8.328 MB / 410.7 MB Notification: Performance of Templates: time 0.003978/0.01528, allocations: 2.312 MB / 440.6 MB, free: 6.027 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.791680147871375]