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.001213/0.001213, allocations: 72.95 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.001483/0.001483, allocations: 169.3 kB / 24.14 MB, free: 360 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 0.9668/0.9668, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.6311/0.6311, allocations: 115 MB / 376 MB, free: 7.453 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.313e-06/1.313e-06, allocations: 0 / 428.7 MB, free: 2.805 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053e-05/1.184e-05, allocations: 2.312 kB / 428.7 MB, free: 2.801 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.001951/0.001963, allocations: 1.665 MB / 430.4 MB, free: 1.121 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007876/0.00275, allocations: 0.6776 MB / 431 MB, free: 448 kB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.712e-05/0.002817, allocations: 7.938 kB / 431.1 MB, free: 440 kB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.00295, allocations: 19.73 kB / 431.1 MB, free: 420 kB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.003118, allocations: 47.75 kB / 431.1 MB, free: 372 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.003389, allocations: 115.7 kB / 431.2 MB, free: 256 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.003585, allocations: 195.5 kB / 431.4 MB, free: 60 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.495e-05/0.00367, allocations: 26.2 kB / 431.4 MB, free: 28 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.00386, allocations: 111.8 kB / 431.6 MB, free: 15.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.105e-05/0.003951, allocations: 75.78 kB / 431.6 MB, free: 15.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.003976, allocations: 16 kB / 431.6 MB, free: 15.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.774e-05/0.004034, allocations: 35.97 kB / 431.7 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.175e-05/0.004096, allocations: 23.92 kB / 431.7 MB, free: 15.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.004147, allocations: 51.89 kB / 431.8 MB, free: 15.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.004321, allocations: 159.5 kB / 431.9 MB, free: 15.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004323, allocations: 0 / 431.9 MB, free: 15.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004323, allocations: 0 / 431.9 MB, free: 15.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.564e-06/0.004326, allocations: 0 / 431.9 MB, free: 15.56 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.0004278/0.004754, allocations: 471 kB / 432.4 MB, free: 15.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.004782, allocations: 12.03 kB / 432.4 MB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.004892, allocations: 32.91 kB / 432.4 MB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.005077, allocations: 173.5 kB / 432.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.005088, allocations: 4.375 kB / 432.6 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.005109, allocations: 20.31 kB / 432.6 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.005262, allocations: 150.3 kB / 432.8 MB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.005274, allocations: 192 / 432.8 MB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.005297, allocations: 12.36 kB / 432.8 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.005304, allocations: 7.938 kB / 432.8 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.657e-05/0.00536, allocations: 79.38 kB / 432.9 MB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.00568, allocations: 254.9 kB / 433.1 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.41e-05/0.005764, allocations: 97.97 kB / 433.2 MB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.463e-05/0.005819, allocations: 88.23 kB / 433.3 MB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.005835, allocations: 4.094 kB / 433.3 MB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.005994, allocations: 210.2 kB / 433.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.005995, allocations: 0 / 433.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002382/0.006234, allocations: 315.7 kB / 433.8 MB, free: 13.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.006301, allocations: 174.2 kB / 434 MB, free: 13.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.896e-05/0.0064, allocations: 175.3 kB / 434.1 MB, free: 13.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.006416, allocations: 29.7 kB / 434.2 MB, free: 13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.006531, allocations: 104.3 kB / 434.3 MB, free: 12.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.006553, allocations: 27.69 kB / 434.3 MB, free: 12.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.006599, allocations: 41.69 kB / 434.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.969e-05/0.006669, allocations: 326.8 kB / 434.7 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.006735, allocations: 133.6 kB / 434.8 MB, free: 12.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.263e-05/0.006818, allocations: 181.6 kB / 435 MB, free: 12.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.006944, allocations: 281.4 kB / 435.2 MB, free: 11.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.006947, allocations: 0 / 435.2 MB, free: 11.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001931/0.00714, allocations: 356.9 kB / 435.6 MB, free: 11.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/0.007192, allocations: 122.7 kB / 435.7 MB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.007197, allocations: 0 / 435.7 MB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.007216, allocations: 4 kB / 435.7 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.744e-05/0.007283, allocations: 19.92 kB / 435.7 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.007288, allocations: 4 kB / 435.7 MB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.007333, allocations: 12 kB / 435.7 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.007344, allocations: 4 kB / 435.8 MB, free: 11.18 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.0002487/0.007593, allocations: 192 kB / 435.9 MB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.007618, allocations: 23.98 kB / 436 MB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.007644, allocations: 21.47 kB / 436 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.007646, allocations: 3.938 kB / 436 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.007648, allocations: 0 / 436 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.00765, allocations: 0 / 436 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.007908, allocations: 401.6 kB / 436.4 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.007909, allocations: 0 / 436.4 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.901e-05/0.007938, allocations: 11.94 kB / 436.4 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.007941, allocations: 3.938 kB / 436.4 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.007953, allocations: 11.97 kB / 436.4 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.007954, allocations: 80 / 436.4 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.007957, allocations: 7.984 kB / 436.4 MB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.008126, allocations: 326.3 kB / 436.7 MB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.008136, allocations: 11.95 kB / 436.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.008163, allocations: 7.938 kB / 436.8 MB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.976e-05/0.008213, allocations: 11.98 kB / 436.8 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.008239, allocations: 7.938 kB / 436.8 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.008251, allocations: 11.98 kB / 436.8 MB, free: 10.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.161e-05/0.008283, allocations: 45.64 kB / 436.8 MB, free: 9.984 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008283, allocations: 0 / 436.8 MB, free: 9.984 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001675/0.008451, allocations: 47.83 kB / 436.9 MB, free: 9.938 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.000144/0.008595, allocations: 108.5 kB / 437 MB, free: 9.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.008833, allocations: 476.7 kB / 437.4 MB, free: 9.266 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.008837, allocations: 4 kB / 437.5 MB, free: 9.262 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.862e-05/0.008936, allocations: 211.5 kB / 437.7 MB, free: 9.016 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.009083, allocations: 39.27 kB / 437.7 MB, free: 8.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.009543, allocations: 325.8 kB / 438 MB, free: 8.625 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.964e-05/0.009583, allocations: 79.12 kB / 438.1 MB, free: 8.527 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.622e-05/0.009609, allocations: 4.5 kB / 438.1 MB, free: 8.523 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.009717, allocations: 99.33 kB / 438.2 MB, free: 8.426 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009718, allocations: 0 / 438.2 MB, free: 8.426 MB / 410.7 MB Notification: Performance of Templates: time 0.003998/0.01372, allocations: 2.319 MB / 440.5 MB, free: 6.113 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.4714859663508832]