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.0009449/0.0009449, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.0009176/0.0009176, allocations: 165.3 kB / 23.8 MB, free: 0.7734 MB / 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.007/1.007, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.6574/0.6574, allocations: 115 MB / 375.7 MB, free: 7.625 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 2.335e-06/2.335e-06, allocations: 3.5 kB / 481.5 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.667e-05, allocations: 3.75 kB / 481.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.001972/0.001988, allocations: 1.676 MB / 483.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007769/0.002765, allocations: 0.6647 MB / 483.8 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.612e-05/0.002842, allocations: 7.531 kB / 483.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.003016, allocations: 16.62 kB / 483.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.003219, allocations: 49.64 kB / 483.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.003544, allocations: 122.2 kB / 484 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.003761, allocations: 190.6 kB / 484.2 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.003867, allocations: 16.73 kB / 484.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.004092, allocations: 122.4 kB / 484.4 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.942e-05/0.004191, allocations: 74.33 kB / 484.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.004222, allocations: 12.88 kB / 484.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.301e-05/0.004295, allocations: 31 kB / 484.5 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.496e-05/0.00437, allocations: 37.09 kB / 484.5 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.215e-05/0.004432, allocations: 50.69 kB / 484.6 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.004633, allocations: 153.2 kB / 484.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004635, allocations: 5.812 kB / 484.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004636, allocations: 0 / 484.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.004642, allocations: 0.5938 kB / 484.7 MB, free: 10.04 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.0005003/0.005142, allocations: 0.576 MB / 485.3 MB, free: 9.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.005181, allocations: 9.344 kB / 485.3 MB, free: 9.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.005333, allocations: 34.91 kB / 485.3 MB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.005536, allocations: 185.5 kB / 485.5 MB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.005553, allocations: 7.625 kB / 485.5 MB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.005576, allocations: 15 kB / 485.5 MB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.005779, allocations: 165.7 kB / 485.7 MB, free: 9.184 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.005788, allocations: 192 / 485.7 MB, free: 9.184 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.005804, allocations: 6.375 kB / 485.7 MB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.005817, allocations: 7.094 kB / 485.7 MB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.842e-05/0.005896, allocations: 93.08 kB / 485.8 MB, free: 9.105 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.006312, allocations: 396.3 kB / 486.2 MB, free: 8.789 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.006423, allocations: 114.5 kB / 486.3 MB, free: 8.688 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.913e-05/0.006502, allocations: 105.1 kB / 486.4 MB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.006523, allocations: 4 kB / 486.4 MB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.00667, allocations: 230.6 kB / 486.6 MB, free: 8.402 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.006672, allocations: 0 / 486.6 MB, free: 8.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004729/0.007145, allocations: 419.5 kB / 487 MB, free: 8.133 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.007191, allocations: 161.9 kB / 487.2 MB, free: 7.945 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.007452, allocations: 234.8 kB / 487.4 MB, free: 23.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.007471, allocations: 33.64 kB / 487.5 MB, free: 23.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.007541, allocations: 155.9 kB / 487.6 MB, free: 23.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.007563, allocations: 27.41 kB / 487.6 MB, free: 23.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.007619, allocations: 45.03 kB / 487.7 MB, free: 23.51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.007748, allocations: 0.5005 MB / 488.2 MB, free: 23.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-05/0.007847, allocations: 139.5 kB / 488.3 MB, free: 22.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.007954, allocations: 212.2 kB / 488.5 MB, free: 22.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.008117, allocations: 298.3 kB / 488.8 MB, free: 22.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.00812, allocations: 2.438 kB / 488.8 MB, free: 22.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003287/0.008449, allocations: 426 kB / 489.2 MB, free: 22.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.332e-05/0.008502, allocations: 118.8 kB / 489.4 MB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.008509, allocations: 4.625 kB / 489.4 MB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.008525, allocations: 2.281 kB / 489.4 MB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.008613, allocations: 15.12 kB / 489.4 MB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.008624, allocations: 10.59 kB / 489.4 MB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.701e-05/0.008681, allocations: 15.89 kB / 489.4 MB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.008701, allocations: 16.34 kB / 489.4 MB, free: 21.86 MB / 426.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.0001395/0.00884, allocations: 234 kB / 489.7 MB, free: 21.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.008877, allocations: 27.41 kB / 489.7 MB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.008907, allocations: 18.52 kB / 489.7 MB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.00891, allocations: 5.312 kB / 489.7 MB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.008914, allocations: 0 / 489.7 MB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.008917, allocations: 2.812 kB / 489.7 MB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.009339, allocations: 0.5892 MB / 490.3 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.009341, allocations: 3.375 kB / 490.3 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.532e-05/0.009376, allocations: 11.28 kB / 490.3 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.00938, allocations: 1.125 kB / 490.3 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.009394, allocations: 7.656 kB / 490.3 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.009396, allocations: 1.25 kB / 490.3 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.009397, allocations: 1.156 kB / 490.3 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.009726, allocations: 485.3 kB / 490.8 MB, free: 20.76 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.216e-05/0.009738, allocations: 16 kB / 490.8 MB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.009763, allocations: 8.688 kB / 490.8 MB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.111e-05/0.009814, allocations: 4.062 kB / 490.8 MB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.009858, allocations: 11.02 kB / 490.8 MB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.00987, allocations: 6.594 kB / 490.8 MB, free: 20.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.903e-05/0.009949, allocations: 160 kB / 491 MB, free: 20.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.009949, allocations: 2.188 kB / 491 MB, free: 20.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002017/0.01015, allocations: 37.61 kB / 491 MB, free: 20.62 MB / 426.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.0001951/0.01035, allocations: 126.4 kB / 491.2 MB, free: 20.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.01066, allocations: 499.7 kB / 491.6 MB, free: 20.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.01066, allocations: 0 / 491.6 MB, free: 20.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.01078, allocations: 230.8 kB / 491.9 MB, free: 19.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.011, allocations: 40.45 kB / 491.9 MB, free: 19.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000637/0.01164, allocations: 344.2 kB / 492.2 MB, free: 19.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.432e-05/0.01168, allocations: 64.61 kB / 492.3 MB, free: 19.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.622e-05/0.01173, allocations: 24.38 kB / 492.3 MB, free: 19.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.01176, allocations: 19.03 kB / 492.4 MB, free: 19.48 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01176, allocations: 0 / 492.4 MB, free: 19.48 MB / 426.7 MB Notification: Performance of Templates: time 0.004633/0.01639, allocations: 2.358 MB / 494.7 MB, free: 19.2 MB / 426.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.642603882122785]