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.0009877/0.0009877, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001257/0.001257, allocations: 169 kB / 24.05 MB, free: 452 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.041/1.041, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.6146/0.6146, allocations: 115 MB / 376 MB, free: 7.516 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 9.12e-07/9.12e-07, allocations: 0 / 481.9 MB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029e-05/1.12e-05, allocations: 2.312 kB / 482 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.001702/0.001714, allocations: 1.675 MB / 483.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000785/0.002499, allocations: 0.6587 MB / 484.3 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.519e-05/0.002564, allocations: 5.688 kB / 484.3 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.002679, allocations: 17.34 kB / 484.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.002819, allocations: 49.11 kB / 484.4 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.003076, allocations: 127 kB / 484.5 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.003249, allocations: 188.5 kB / 484.7 MB, free: 9.977 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.281e-05/0.003322, allocations: 16.27 kB / 484.7 MB, free: 9.969 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.003491, allocations: 122.8 kB / 484.8 MB, free: 9.918 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.905e-05/0.00357, allocations: 73.92 kB / 484.9 MB, free: 9.895 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.003595, allocations: 17.61 kB / 484.9 MB, free: 9.891 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.206e-05/0.003657, allocations: 27 kB / 484.9 MB, free: 9.887 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.01e-05/0.003717, allocations: 34.75 kB / 484.9 MB, free: 9.871 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.449e-05/0.003772, allocations: 51.97 kB / 485 MB, free: 9.852 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.003939, allocations: 151.1 kB / 485.1 MB, free: 9.785 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.00394, allocations: 0 / 485.1 MB, free: 9.785 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003941, allocations: 0 / 485.1 MB, free: 9.785 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.003945, allocations: 1.75 kB / 485.1 MB, free: 9.785 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.000426/0.004371, allocations: 0.5869 MB / 485.7 MB, free: 9.219 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.004407, allocations: 10.41 kB / 485.7 MB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.004538, allocations: 34.5 kB / 485.8 MB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.004687, allocations: 181 kB / 486 MB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.0047, allocations: 7.281 kB / 486 MB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.004718, allocations: 15.72 kB / 486 MB, free: 9.043 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.004854, allocations: 163.6 kB / 486.1 MB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-06/0.004861, allocations: 192 / 486.1 MB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.00487, allocations: 2.75 kB / 486.1 MB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.004876, allocations: 5.344 kB / 486.1 MB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.083e-05/0.004927, allocations: 85.78 kB / 486.2 MB, free: 8.852 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.005221, allocations: 362.5 kB / 486.6 MB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.331e-05/0.005294, allocations: 114.1 kB / 486.7 MB, free: 8.465 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/0.005343, allocations: 98.55 kB / 486.8 MB, free: 8.383 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.005363, allocations: 3.469 kB / 486.8 MB, free: 8.383 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.00547, allocations: 224.9 kB / 487 MB, free: 8.184 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 8.32e-07/0.005471, allocations: 0 / 487 MB, free: 8.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003313/0.005802, allocations: 392.2 kB / 487.4 MB, free: 7.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.005838, allocations: 170.2 kB / 487.6 MB, free: 7.734 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.006035, allocations: 234.8 kB / 487.8 MB, free: 23.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.006052, allocations: 29.61 kB / 487.8 MB, free: 23.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.006106, allocations: 154.3 kB / 488 MB, free: 23.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.00613, allocations: 31.67 kB / 488 MB, free: 23.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.006176, allocations: 52.47 kB / 488.1 MB, free: 23.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.006289, allocations: 0.4963 MB / 488.6 MB, free: 22.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.296e-05/0.006352, allocations: 137 kB / 488.7 MB, free: 22.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.57e-05/0.006428, allocations: 206.2 kB / 488.9 MB, free: 22.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.006548, allocations: 291 kB / 489.2 MB, free: 22.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.006549, allocations: 0 / 489.2 MB, free: 22.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002657/0.006815, allocations: 411.9 kB / 489.6 MB, free: 21.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/0.006859, allocations: 120 kB / 489.7 MB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.006865, allocations: 2.094 kB / 489.7 MB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.006877, allocations: 2.344 kB / 489.7 MB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.059e-05/0.006938, allocations: 18.95 kB / 489.7 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.006942, allocations: 8.75 kB / 489.7 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.006991, allocations: 18.83 kB / 489.7 MB, free: 21.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.007005, allocations: 7.094 kB / 489.7 MB, free: 21.66 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.000105/0.00711, allocations: 234.1 kB / 490 MB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.007138, allocations: 30.03 kB / 490 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.007165, allocations: 19.69 kB / 490 MB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.007167, allocations: 1.406 kB / 490 MB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.007169, allocations: 6.031 kB / 490 MB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.007173, allocations: 1.406 kB / 490 MB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.007526, allocations: 0.5362 MB / 490.6 MB, free: 20.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.007528, allocations: 0 / 490.6 MB, free: 20.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.983e-05/0.007558, allocations: 18.81 kB / 490.6 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.00756, allocations: 5.219 kB / 490.6 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.007572, allocations: 10.5 kB / 490.6 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.007573, allocations: 3.938 kB / 490.6 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.007573, allocations: 0 / 490.6 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.007832, allocations: 469.3 kB / 491.1 MB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.007845, allocations: 16.06 kB / 491.1 MB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.007864, allocations: 6.031 kB / 491.1 MB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.876e-05/0.007912, allocations: 4.656 kB / 491.1 MB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.007939, allocations: 11.8 kB / 491.1 MB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.00795, allocations: 8.359 kB / 491.1 MB, free: 20.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.984e-05/0.00801, allocations: 158.4 kB / 491.3 MB, free: 20.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00801, allocations: 1.094 kB / 491.3 MB, free: 20.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001888/0.008199, allocations: 30.56 kB / 491.3 MB, free: 20.46 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.0001354/0.008334, allocations: 132.3 kB / 491.4 MB, free: 20.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.008568, allocations: 480.6 kB / 491.9 MB, free: 19.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.008569, allocations: 1.531 kB / 491.9 MB, free: 19.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.008671, allocations: 223.8 kB / 492.1 MB, free: 19.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.008863, allocations: 39.53 kB / 492.2 MB, free: 19.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.009308, allocations: 337.2 kB / 492.5 MB, free: 19.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.013e-05/0.009338, allocations: 69 kB / 492.5 MB, free: 19.35 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.768e-05/0.009365, allocations: 14.17 kB / 492.6 MB, free: 19.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.009476, allocations: 119.7 kB / 492.7 MB, free: 19.28 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009476, allocations: 0.9688 kB / 492.7 MB, free: 19.28 MB / 426.7 MB Notification: Performance of Templates: time 0.003617/0.01309, allocations: 2.392 MB / 495.1 MB, free: 19 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.556794567964971]