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.001096/0.001096, allocations: 84.22 kB / 20.94 MB, free: 3.602 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.001189/0.001189, allocations: 169 kB / 24.25 MB, free: 300 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.025/1.025, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.6858/0.6858, allocations: 114.9 MB / 376 MB, free: 7.648 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.443e-06/1.443e-06, allocations: 0 / 481.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.622e-05, allocations: 6.391 kB / 481.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.005523/0.005549, allocations: 1.665 MB / 483.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008734/0.006423, allocations: 0.6719 MB / 483.8 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.361e-05/0.006506, allocations: 0 / 483.8 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.006658, allocations: 20.42 kB / 483.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.006863, allocations: 46.64 kB / 483.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.007198, allocations: 119.9 kB / 484 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.007428, allocations: 189.2 kB / 484.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.007537, allocations: 24.97 kB / 484.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003256/0.01079, allocations: 116.4 kB / 484.3 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.01091, allocations: 74.73 kB / 484.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.01095, allocations: 13.38 kB / 484.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.449e-05/0.01103, allocations: 32.83 kB / 484.5 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.339e-05/0.01112, allocations: 24.95 kB / 484.5 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.887e-05/0.0112, allocations: 60.23 kB / 484.5 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.01144, allocations: 152.4 kB / 484.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01144, allocations: 0.5 kB / 484.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.01144, allocations: 1.625 kB / 484.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.01145, allocations: 1.094 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.0005629/0.01201, allocations: 0.5869 MB / 485.3 MB, free: 9.473 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.01205, allocations: 9.031 kB / 485.3 MB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.01223, allocations: 30.88 kB / 485.3 MB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.01247, allocations: 186.7 kB / 485.5 MB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.01249, allocations: 12.06 kB / 485.5 MB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.01252, allocations: 15 kB / 485.5 MB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.01276, allocations: 159.1 kB / 485.7 MB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.01277, allocations: 6.266 kB / 485.7 MB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.01278, allocations: 10.06 kB / 485.7 MB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.01279, allocations: 4.312 kB / 485.7 MB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.45e-05/0.01289, allocations: 89.08 kB / 485.8 MB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.01334, allocations: 392.6 kB / 486.2 MB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.01351, allocations: 116.2 kB / 486.3 MB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.976e-05/0.01361, allocations: 108.2 kB / 486.4 MB, free: 8.598 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.01363, allocations: 6.219 kB / 486.4 MB, free: 8.594 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.01379, allocations: 226.9 kB / 486.6 MB, free: 8.395 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.224e-06/0.01379, allocations: 0 / 486.6 MB, free: 8.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004383/0.01423, allocations: 420.8 kB / 487 MB, free: 8.125 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.01427, allocations: 162.1 kB / 487.2 MB, free: 7.938 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.01457, allocations: 230.3 kB / 487.4 MB, free: 23.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.01459, allocations: 34.95 kB / 487.5 MB, free: 23.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.01466, allocations: 154.1 kB / 487.6 MB, free: 23.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.01469, allocations: 34.84 kB / 487.6 MB, free: 23.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/0.01475, allocations: 45.06 kB / 487.7 MB, free: 23.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.01489, allocations: 0.4955 MB / 488.2 MB, free: 23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.692e-05/0.01498, allocations: 145.7 kB / 488.3 MB, free: 22.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.84e-05/0.01508, allocations: 214 kB / 488.5 MB, free: 22.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.01523, allocations: 293.8 kB / 488.8 MB, free: 22.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.01523, allocations: 0.5625 kB / 488.8 MB, free: 22.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003297/0.01556, allocations: 425.4 kB / 489.2 MB, free: 22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.634e-05/0.01562, allocations: 119 kB / 489.4 MB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.01562, allocations: 2.766 kB / 489.4 MB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.01564, allocations: 3.25 kB / 489.4 MB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.447e-05/0.01572, allocations: 19.05 kB / 489.4 MB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.01573, allocations: 6.609 kB / 489.4 MB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.338e-05/0.01578, allocations: 21.39 kB / 489.4 MB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.0158, allocations: 7.531 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.0001117/0.01591, allocations: 237.6 kB / 489.6 MB, free: 21.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.01594, allocations: 29.75 kB / 489.7 MB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.01597, allocations: 16.92 kB / 489.7 MB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01598, allocations: 1.438 kB / 489.7 MB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.01598, allocations: 0 / 489.7 MB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01598, allocations: 0 / 489.7 MB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004376/0.01642, allocations: 0.598 MB / 490.3 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01642, allocations: 0 / 490.3 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.895e-05/0.01647, allocations: 8.469 kB / 490.3 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.01648, allocations: 0 / 490.3 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.01649, allocations: 10.17 kB / 490.3 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.01649, allocations: 0 / 490.3 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.01649, allocations: 1.312 kB / 490.3 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.01683, allocations: 493.9 kB / 490.8 MB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.01684, allocations: 15.38 kB / 490.8 MB, free: 20.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.01687, allocations: 3.969 kB / 490.8 MB, free: 20.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.599e-05/0.01693, allocations: 4.875 kB / 490.8 MB, free: 20.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.01698, allocations: 11.69 kB / 490.8 MB, free: 20.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.01699, allocations: 5.781 kB / 490.8 MB, free: 20.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.551e-05/0.01706, allocations: 163.6 kB / 491 MB, free: 20.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01706, allocations: 0 / 491 MB, free: 20.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002034/0.01727, allocations: 34.91 kB / 491 MB, free: 20.61 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.0002532/0.01752, allocations: 129.8 kB / 491.2 MB, free: 20.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003867/0.01791, allocations: 0.4891 MB / 491.6 MB, free: 20.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.01791, allocations: 0 / 491.6 MB, free: 20.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.01805, allocations: 231.5 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.0002356/0.01828, allocations: 25.73 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.0006834/0.01897, allocations: 345.9 kB / 492.2 MB, free: 19.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.899e-05/0.019, allocations: 69.73 kB / 492.3 MB, free: 19.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.126e-05/0.01906, allocations: 22.33 kB / 492.3 MB, free: 19.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.01909, allocations: 15.25 kB / 492.3 MB, free: 19.48 MB / 426.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01909, allocations: 3.938 kB / 492.3 MB, free: 19.48 MB / 426.7 MB Notification: Performance of Templates: time 0.004412/0.0235, allocations: 2.198 MB / 494.5 MB, free: 19.25 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.708014373900369]