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.001001/0.001001, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001281/0.002282, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.001052/0.001052, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001301/0.002354, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09522/1.1, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5979/0.5979, allocations: 119.1 MB / 363.1 MB, free: 3.715 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06572/0.6636, allocations: 37.86 MB / 400.9 MB, free: 13.73 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.683e-06/1.683e-06, allocations: 0 / 402.2 MB, free: 12.44 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.628e-06/1.131e-05, allocations: 2.312 kB / 402.2 MB, free: 12.43 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.001826/0.001838, allocations: 1.7 MB / 403.9 MB, free: 10.71 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007674/0.002605, allocations: 0.6737 MB / 404.6 MB, free: 10.04 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.002659, allocations: 3.938 kB / 404.6 MB, free: 10.03 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 7.582e-05/0.002735, allocations: 27.72 kB / 404.6 MB, free: 10 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.002847, allocations: 47.75 kB / 404.7 MB, free: 9.957 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.003096, allocations: 119.7 kB / 404.8 MB, free: 9.84 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.003287, allocations: 187.5 kB / 405 MB, free: 9.656 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.835e-05/0.003365, allocations: 14.3 kB / 405 MB, free: 9.641 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.003555, allocations: 151.5 kB / 405.1 MB, free: 9.492 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.986e-05/0.003644, allocations: 67.84 kB / 405.2 MB, free: 9.426 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.003668, allocations: 12 kB / 405.2 MB, free: 9.414 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.977e-05/0.003738, allocations: 28 kB / 405.2 MB, free: 9.387 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.003796, allocations: 35.84 kB / 405.3 MB, free: 9.352 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.003845, allocations: 39.94 kB / 405.3 MB, free: 9.312 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.004007, allocations: 135.5 kB / 405.5 MB, free: 9.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.004018, allocations: 0 / 405.5 MB, free: 9.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.004019, allocations: 3.984 kB / 405.5 MB, free: 9.176 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.004031, allocations: 0 / 405.5 MB, free: 9.176 MB / 394.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.0006004/0.004631, allocations: 490.7 kB / 405.9 MB, free: 8.648 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.588e-05/0.004657, allocations: 12.03 kB / 405.9 MB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.004793, allocations: 110 kB / 406.1 MB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.004967, allocations: 169.5 kB / 406.2 MB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.004978, allocations: 12.31 kB / 406.2 MB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.004996, allocations: 20.31 kB / 406.3 MB, free: 8.289 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.005145, allocations: 154.3 kB / 406.4 MB, free: 8.117 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.005151, allocations: 192 / 406.4 MB, free: 8.117 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.005165, allocations: 8.375 kB / 406.4 MB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.00517, allocations: 7.922 kB / 406.4 MB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.719e-05/0.005227, allocations: 75.39 kB / 406.5 MB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.005529, allocations: 254.9 kB / 406.7 MB, free: 7.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.034e-05/0.005609, allocations: 102 kB / 406.8 MB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.573e-05/0.005665, allocations: 92.39 kB / 406.9 MB, free: 7.523 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.005683, allocations: 4 kB / 406.9 MB, free: 7.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/0.005811, allocations: 214.1 kB / 407.1 MB, free: 7.273 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.005812, allocations: 0 / 407.1 MB, free: 7.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.000243/0.006055, allocations: 319.7 kB / 407.5 MB, free: 6.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.006114, allocations: 170.2 kB / 407.6 MB, free: 6.715 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.073e-05/0.006205, allocations: 175.3 kB / 407.8 MB, free: 6.527 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.00622, allocations: 33.69 kB / 407.8 MB, free: 6.488 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.00626, allocations: 100.4 kB / 407.9 MB, free: 6.383 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.006282, allocations: 31.72 kB / 408 MB, free: 6.352 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.006329, allocations: 41.69 kB / 408 MB, free: 6.305 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.465e-05/0.006404, allocations: 326.8 kB / 408.3 MB, free: 5.977 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.205e-05/0.006476, allocations: 133.6 kB / 408.4 MB, free: 5.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-05/0.006563, allocations: 189.6 kB / 408.6 MB, free: 5.586 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.006691, allocations: 277.4 kB / 408.9 MB, free: 5.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006693, allocations: 0 / 408.9 MB, free: 5.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004421/0.007135, allocations: 352.7 kB / 409.2 MB, free: 4.848 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.419e-05/0.007189, allocations: 126.7 kB / 409.4 MB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.007194, allocations: 0 / 409.4 MB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/0.007202, allocations: 8.25 kB / 409.4 MB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/0.007266, allocations: 15.98 kB / 409.4 MB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.007272, allocations: 12 kB / 409.4 MB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.383e-05/0.007316, allocations: 8 kB / 409.4 MB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.00733, allocations: 15.98 kB / 409.4 MB, free: 4.641 MB / 394.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 8.948e-05/0.007419, allocations: 184 kB / 409.6 MB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.00744, allocations: 23.98 kB / 409.6 MB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.491e-05/0.007465, allocations: 17.41 kB / 409.6 MB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.007467, allocations: 3.938 kB / 409.7 MB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.007469, allocations: 3.938 kB / 409.7 MB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.007472, allocations: 4 kB / 409.7 MB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.007714, allocations: 409.5 kB / 410.1 MB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.007715, allocations: 0 / 410.1 MB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.007748, allocations: 19.92 kB / 410.1 MB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-06/0.007758, allocations: 11.89 kB / 410.1 MB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.00776, allocations: 0 / 410.1 MB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.007769, allocations: 4 kB / 410.1 MB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.00777, allocations: 0 / 410.1 MB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.007772, allocations: 3.984 kB / 410.1 MB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.007954, allocations: 334.3 kB / 410.4 MB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.007977, allocations: 19.94 kB / 410.4 MB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.767e-05/0.008025, allocations: 4 kB / 410.4 MB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.008059, allocations: 15.92 kB / 410.5 MB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/0.008067, allocations: 4 kB / 410.5 MB, free: 3.488 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.894e-05/0.008096, allocations: 37.66 kB / 410.5 MB, free: 3.449 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008096, allocations: 0 / 410.5 MB, free: 3.449 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001691/0.008265, allocations: 47.88 kB / 410.6 MB, free: 3.402 MB / 394.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.0001504/0.008416, allocations: 108.9 kB / 410.7 MB, free: 3.285 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.008675, allocations: 476.5 kB / 411.1 MB, free: 2.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.008681, allocations: 7.938 kB / 411.1 MB, free: 2.723 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.008788, allocations: 223 kB / 411.3 MB, free: 2.465 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.008947, allocations: 35.98 kB / 411.4 MB, free: 2.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007296/0.009677, allocations: 338.3 kB / 411.7 MB, free: 2.062 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.513e-05/0.009712, allocations: 67.2 kB / 411.8 MB, free: 1.977 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.845e-05/0.00974, allocations: 12.48 kB / 411.8 MB, free: 1.965 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.009852, allocations: 99.27 kB / 411.9 MB, free: 1.867 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009852, allocations: 0 / 411.9 MB, free: 1.867 MB / 394.7 MB Notification: Performance of Templates: time 0.00409/0.01394, allocations: 2.356 MB / 414.2 MB, free: 15.51 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.156412173062563]