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.0007825/0.0007825, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.0007962/0.0007962, allocations: 165.9 kB / 23.96 MB, free: 0.6016 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 0.8222/0.8222, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.5253/0.5253, allocations: 114 MB / 374.7 MB, free: 8.723 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.293e-06/1.293e-06, allocations: 0 / 0.5554 GB, free: 2.301 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.835e-05, allocations: 6.219 kB / 0.5554 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002243/0.002262, allocations: 1.614 MB / 0.557 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007652/0.003027, allocations: 0.6426 MB / 0.5576 GB, free: 24 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.772e-05/0.003094, allocations: 7.938 kB / 0.5576 GB, free: 16 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.003231, allocations: 15.84 kB / 0.5576 GB, free: 0 / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.003425, allocations: 55.73 kB / 0.5577 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.00375, allocations: 127.6 kB / 0.5578 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000212/0.003962, allocations: 191.5 kB / 0.558 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.664e-05/0.004058, allocations: 17.62 kB / 0.558 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.004244, allocations: 111.8 kB / 0.5581 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.004337, allocations: 75.78 kB / 0.5582 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.004364, allocations: 12 kB / 0.5582 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 6.796e-05/0.004432, allocations: 39.91 kB / 0.5582 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.599e-05/0.004498, allocations: 27.86 kB / 0.5583 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.63e-05/0.004554, allocations: 59.89 kB / 0.5583 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.004761, allocations: 195.5 kB / 0.5585 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004763, allocations: 0 / 0.5585 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.41e-07/0.004763, allocations: 0 / 0.5585 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.004768, allocations: 0 / 0.5585 GB, free: 15.1 MB / 0.5261 GB 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.000484/0.005252, allocations: 0.4886 MB / 0.559 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.005287, allocations: 8.625 kB / 0.559 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.005418, allocations: 32.83 kB / 0.559 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.005645, allocations: 177.8 kB / 0.5592 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.005659, allocations: 8.375 kB / 0.5592 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.005679, allocations: 16.31 kB / 0.5592 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.005888, allocations: 173.5 kB / 0.5594 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.005895, allocations: 192 / 0.5594 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.005908, allocations: 4.125 kB / 0.5594 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.005913, allocations: 4 kB / 0.5594 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.006042, allocations: 131.3 kB / 0.5595 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.006444, allocations: 340.3 kB / 0.5598 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.006577, allocations: 129.9 kB / 0.56 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.006681, allocations: 132.2 kB / 0.5601 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.006701, allocations: 3.938 kB / 0.5601 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.00688, allocations: 246.3 kB / 0.5603 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.006881, allocations: 0 / 0.5603 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0004946/0.007376, allocations: 483.5 kB / 0.5608 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.00744, allocations: 166.2 kB / 0.561 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.007562, allocations: 187.5 kB / 0.5611 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.007577, allocations: 25.7 kB / 0.5612 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.007629, allocations: 112.4 kB / 0.5613 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.007651, allocations: 27.78 kB / 0.5613 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.0077, allocations: 41.7 kB / 0.5613 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.24e-05/0.007772, allocations: 322.8 kB / 0.5616 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.007879, allocations: 166.8 kB / 0.5618 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.008003, allocations: 216.9 kB / 0.562 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.008194, allocations: 312.9 kB / 0.5623 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.008196, allocations: 0 / 0.5623 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003434/0.00854, allocations: 466.9 kB / 0.5627 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.128e-05/0.008591, allocations: 118.8 kB / 0.5629 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.008596, allocations: 0 / 0.5629 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.008608, allocations: 4 kB / 0.5629 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.328e-05/0.008682, allocations: 24.23 kB / 0.5629 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.008687, allocations: 4 kB / 0.5629 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.997e-05/0.008737, allocations: 15.94 kB / 0.5629 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.00875, allocations: 11.94 kB / 0.5629 GB, free: 10.04 MB / 0.5261 GB 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 9.718e-05/0.008847, allocations: 193.2 kB / 0.5631 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.008868, allocations: 19.84 kB / 0.5631 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.008895, allocations: 17.45 kB / 0.5631 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.008897, allocations: 0 / 0.5631 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.008901, allocations: 4.281 kB / 0.5631 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.008903, allocations: 4 kB / 0.5631 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007001/0.009604, allocations: 0.5866 MB / 0.5637 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.009605, allocations: 0 / 0.5637 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-05/0.009636, allocations: 11.98 kB / 0.5637 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.009638, allocations: 3.938 kB / 0.5637 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.00965, allocations: 8 kB / 0.5637 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.009651, allocations: 0 / 0.5637 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.009652, allocations: 0 / 0.5637 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.009979, allocations: 478 kB / 0.5642 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.009989, allocations: 11.91 kB / 0.5642 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.01001, allocations: 11.98 kB / 0.5642 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.309e-05/0.01006, allocations: 7.984 kB / 0.5642 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.0101, allocations: 7.984 kB / 0.5642 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.01011, allocations: 12 kB / 0.5642 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.248e-05/0.01017, allocations: 128.1 kB / 0.5644 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.01017, allocations: 0 / 0.5644 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001924/0.01037, allocations: 32 kB / 0.5644 GB, free: 8.395 MB / 0.5261 GB 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.000162/0.01053, allocations: 146 kB / 0.5645 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.01086, allocations: 0.5153 MB / 0.565 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01086, allocations: 0.5 kB / 0.565 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.011, allocations: 250.1 kB / 0.5653 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.0112, allocations: 19.94 kB / 0.5653 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.01163, allocations: 367.3 kB / 0.5657 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.293e-05/0.01169, allocations: 101.2 kB / 0.5657 GB, free: 6.828 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.01172, allocations: 16.5 kB / 0.5658 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of SimCode: time 2.91e-07/0.01172, allocations: 4 kB / 0.5658 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of Templates: time 0.002605/0.01433, allocations: 2.23 MB / 0.5679 GB, free: 4.602 MB / 0.5261 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.83724398072809] Failed to read output from testmodel.py, exit status != 0: 0.018693096935749054 0.026626437000000003 0.020260078 Calling exit ...