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.001577/0.001577, allocations: 73.94 kB / 20.51 MB, free: 1.285 MB / 14.72 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.001304/0.001304, allocations: 164.6 kB / 23.77 MB, free: 4.465 MB / 14.72 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.401/1.401, allocations: 177.2 MB / 204.1 MB, free: 8.961 MB / 190.1 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.8993/0.8993, allocations: 113.9 MB / 374.5 MB, free: 12.84 MB / 350.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 66.95 kB / 0.555 GB, free: 2.711 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1501, allocations: 89.14 MB / 0.6421 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002973/0.1531, allocations: 1.607 MB / 0.6437 GB, free: 7.902 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1542, allocations: 0.6429 MB / 0.6443 GB, free: 7.254 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.089e-05/0.1543, allocations: 7.875 kB / 0.6443 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.1544, allocations: 27.78 kB / 0.6443 GB, free: 7.219 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.1546, allocations: 51.75 kB / 0.6444 GB, free: 7.168 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.1551, allocations: 123.7 kB / 0.6445 GB, free: 7.047 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.1553, allocations: 183.6 kB / 0.6447 GB, free: 6.867 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.239e-05/0.1554, allocations: 13.62 kB / 0.6447 GB, free: 6.852 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.1556, allocations: 95.75 kB / 0.6448 GB, free: 6.758 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.1557, allocations: 79.72 kB / 0.6448 GB, free: 6.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.1558, allocations: 12 kB / 0.6449 GB, free: 6.668 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.508e-05/0.1559, allocations: 35.97 kB / 0.6449 GB, free: 6.633 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.388e-05/0.156, allocations: 31.86 kB / 0.6449 GB, free: 6.602 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.279e-05/0.156, allocations: 67.77 kB / 0.645 GB, free: 6.535 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.1563, allocations: 171.3 kB / 0.6451 GB, free: 6.367 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1563, allocations: 7.875 kB / 0.6452 GB, free: 6.359 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1563, allocations: 0 / 0.6452 GB, free: 6.359 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.1563, allocations: 0 / 0.6452 GB, free: 6.359 MB / 0.545 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.0006951/0.157, allocations: 0.4887 MB / 0.6456 GB, free: 5.816 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.157, allocations: 8.031 kB / 0.6456 GB, free: 5.809 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.1572, allocations: 32.83 kB / 0.6457 GB, free: 5.777 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.1575, allocations: 182.4 kB / 0.6458 GB, free: 5.574 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.1576, allocations: 12.38 kB / 0.6459 GB, free: 5.562 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.1576, allocations: 8.375 kB / 0.6459 GB, free: 5.555 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.1579, allocations: 185.1 kB / 0.646 GB, free: 5.355 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1579, allocations: 0 / 0.646 GB, free: 5.355 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.1579, allocations: 4 kB / 0.646 GB, free: 5.352 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.158, allocations: 7.984 kB / 0.6461 GB, free: 5.344 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002489/0.1582, allocations: 127.3 kB / 0.6462 GB, free: 5.207 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/0.1588, allocations: 348.2 kB / 0.6465 GB, free: 4.836 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.1591, allocations: 133.9 kB / 0.6466 GB, free: 4.684 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.1593, allocations: 128.2 kB / 0.6468 GB, free: 4.543 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1593, allocations: 0 / 0.6468 GB, free: 4.543 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003131/0.1596, allocations: 242.3 kB / 0.647 GB, free: 4.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.1596, allocations: 0 / 0.647 GB, free: 4.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0008466/0.1605, allocations: 483.6 kB / 0.6474 GB, free: 3.754 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.1606, allocations: 170.1 kB / 0.6476 GB, free: 3.551 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.1608, allocations: 179.6 kB / 0.6478 GB, free: 3.363 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.1608, allocations: 29.7 kB / 0.6478 GB, free: 3.328 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.1609, allocations: 108.4 kB / 0.6479 GB, free: 3.215 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.1609, allocations: 31.73 kB / 0.6479 GB, free: 3.184 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/0.161, allocations: 41.7 kB / 0.648 GB, free: 3.137 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.1611, allocations: 334.8 kB / 0.6483 GB, free: 2.801 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.1613, allocations: 162.8 kB / 0.6485 GB, free: 2.617 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.1616, allocations: 217.6 kB / 0.6487 GB, free: 2.355 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/0.162, allocations: 308.9 kB / 0.649 GB, free: 1.992 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.162, allocations: 4 kB / 0.649 GB, free: 1.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006529/0.1626, allocations: 459 kB / 0.6494 GB, free: 1.484 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.529e-05/0.1627, allocations: 126.7 kB / 0.6495 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1627, allocations: 0 / 0.6495 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1627, allocations: 4 kB / 0.6495 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1628, allocations: 20.23 kB / 0.6495 GB, free: 1.312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1628, allocations: 4 kB / 0.6495 GB, free: 1.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.1629, allocations: 15.94 kB / 0.6496 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.163, allocations: 8 kB / 0.6496 GB, free: 1.285 MB / 0.545 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 0.0001771/0.1631, allocations: 201.1 kB / 0.6498 GB, free: 1.066 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.1632, allocations: 15.91 kB / 0.6498 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.843e-05/0.1632, allocations: 17.47 kB / 0.6498 GB, free: 1.027 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1632, allocations: 3.938 kB / 0.6498 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1632, allocations: 0 / 0.6498 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1632, allocations: 0 / 0.6498 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007829/0.164, allocations: 0.5867 MB / 0.6504 GB, free: 384 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.164, allocations: 0 / 0.6504 GB, free: 384 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.37e-05/0.1641, allocations: 11.98 kB / 0.6504 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1641, allocations: 288 / 0.6504 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.1641, allocations: 8 kB / 0.6504 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1641, allocations: 0 / 0.6504 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1641, allocations: 3.938 kB / 0.6504 GB, free: 360 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006656/0.1648, allocations: 474 kB / 0.6508 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.277e-05/0.1648, allocations: 15.91 kB / 0.6509 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.1648, allocations: 15.98 kB / 0.6509 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.165, allocations: 4 kB / 0.6509 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.165, allocations: 7.984 kB / 0.6509 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.165, allocations: 12 kB / 0.6509 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001107/0.1651, allocations: 128.1 kB / 0.651 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1651, allocations: 0 / 0.651 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003079/0.1654, allocations: 39.88 kB / 0.6511 GB, free: 15.63 MB / 0.5606 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.0002156/0.1657, allocations: 124.7 kB / 0.6512 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006398/0.1663, allocations: 0.5307 MB / 0.6517 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1663, allocations: 0 / 0.6517 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002868/0.1666, allocations: 246.6 kB / 0.6519 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.1669, allocations: 16 kB / 0.6519 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006183/0.1675, allocations: 351.4 kB / 0.6523 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.283e-05/0.1676, allocations: 93.31 kB / 0.6524 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.821e-05/0.1677, allocations: 20.47 kB / 0.6524 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.1677, allocations: 16.5 kB / 0.6524 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.1677, allocations: 0 / 0.6524 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of Templates: time 0.005692/0.1734, allocations: 2.177 MB / 0.6545 GB, free: 11.94 MB / 0.5606 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1494372399756685] Failed to read output from testmodel.py, exit status != 0: 0.1813044489827007 0.19547359900000003 0.036172041 Calling exit ...