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.001253/0.001253, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.001344/0.001344, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.496/1.496, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.9749/0.9749, allocations: 150 MB / 459.5 MB, free: 5.309 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: "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) [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.002053/0.002053, allocations: 67.12 kB / 0.6361 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1521, allocations: 89.13 MB / 0.7232 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.003293/0.1554, allocations: 1.637 MB / 0.7248 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1567, allocations: 0.6896 MB / 0.7254 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.1568, allocations: 0 / 0.7254 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.1569, allocations: 23.8 kB / 0.7254 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.1572, allocations: 46.5 kB / 0.7255 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.1577, allocations: 123.7 kB / 0.7256 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.158, allocations: 187.6 kB / 0.7258 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1581, allocations: 17.72 kB / 0.7258 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.1584, allocations: 103.7 kB / 0.7259 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.1585, allocations: 83.72 kB / 0.726 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.1586, allocations: 16 kB / 0.726 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.035e-05/0.1587, allocations: 28 kB / 0.726 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.416e-05/0.1587, allocations: 27.91 kB / 0.7261 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.1588, allocations: 75.66 kB / 0.7261 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.1591, allocations: 179.3 kB / 0.7263 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1591, allocations: 4 kB / 0.7263 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1591, allocations: 0 / 0.7263 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.1591, allocations: 0 / 0.7263 GB, free: 0.8516 MB / 0.5294 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.0007837/0.1599, allocations: 0.56 MB / 0.7268 GB, free: 224 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.16, allocations: 8.031 kB / 0.7269 GB, free: 216 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.91e-05/0.16, allocations: 38.75 kB / 0.7269 GB, free: 168 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.1602, allocations: 32.77 kB / 0.7269 GB, free: 136 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.1606, allocations: 248.2 kB / 0.7272 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.1606, allocations: 8.375 kB / 0.7272 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.1606, allocations: 12.38 kB / 0.7272 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.1609, allocations: 113.5 kB / 0.7273 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.1609, allocations: 4 kB / 0.7273 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1609, allocations: 0 / 0.7273 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1609, allocations: 7.938 kB / 0.7273 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000217/0.1611, allocations: 71.94 kB / 0.7274 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007283/0.1619, allocations: 416.6 kB / 0.7278 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.1621, allocations: 82.47 kB / 0.7278 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.1622, allocations: 72.81 kB / 0.7279 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.1623, allocations: 0 / 0.7279 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003519/0.1626, allocations: 178.7 kB / 0.7281 GB, free: 14.81 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 2.274e-06/0.1626, allocations: 0 / 0.7281 GB, free: 14.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0008629/0.1635, allocations: 360.9 kB / 0.7284 GB, free: 14.44 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/0.1636, allocations: 170.2 kB / 0.7286 GB, free: 14.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.1639, allocations: 172.4 kB / 0.7288 GB, free: 14.06 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.1639, allocations: 29.7 kB / 0.7288 GB, free: 14.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.164, allocations: 108.4 kB / 0.7289 GB, free: 13.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.164, allocations: 31.73 kB / 0.7289 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-05/0.1641, allocations: 41.7 kB / 0.729 GB, free: 13.83 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1643, allocations: 330.8 kB / 0.7293 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.1644, allocations: 55.89 kB / 0.7293 GB, free: 13.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.1646, allocations: 106.8 kB / 0.7294 GB, free: 13.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/0.165, allocations: 309.2 kB / 0.7297 GB, free: 12.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.1651, allocations: 0 / 0.7297 GB, free: 12.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006234/0.1657, allocations: 360.2 kB / 0.7301 GB, free: 12.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-05/0.1658, allocations: 118.7 kB / 0.7302 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.1658, allocations: 4 kB / 0.7302 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1658, allocations: 0 / 0.7302 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.1659, allocations: 27.92 kB / 0.7302 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.1659, allocations: 0 / 0.7302 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.1661, allocations: 24.19 kB / 0.7302 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.1661, allocations: 8 kB / 0.7302 GB, free: 12.37 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.0001788/0.1663, allocations: 204.3 kB / 0.7304 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.1663, allocations: 19.91 kB / 0.7305 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/0.1664, allocations: 17.39 kB / 0.7305 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1664, allocations: 0 / 0.7305 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1664, allocations: 0 / 0.7305 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1664, allocations: 0 / 0.7305 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008302/0.1672, allocations: 0.5992 MB / 0.7311 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1672, allocations: 0 / 0.7311 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.133e-05/0.1673, allocations: 8 kB / 0.7311 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1673, allocations: 0 / 0.7311 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.1673, allocations: 7.984 kB / 0.7311 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1673, allocations: 0 / 0.7311 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.1673, allocations: 7.938 kB / 0.7311 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/0.1679, allocations: 406.7 kB / 0.7315 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-05/0.168, allocations: 93 kB / 0.7316 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.168, allocations: 11.98 kB / 0.7316 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.1681, allocations: 4 kB / 0.7316 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.1682, allocations: 11.92 kB / 0.7316 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.1682, allocations: 11.98 kB / 0.7316 GB, free: 10.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001403/0.1684, allocations: 132.3 kB / 0.7317 GB, free: 10.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1684, allocations: 4 kB / 0.7317 GB, free: 10.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003396/0.1687, allocations: 39.94 kB / 0.7318 GB, free: 10.67 MB / 0.545 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.001168/0.1699, allocations: 0.9577 MB / 0.7327 GB, free: 9.672 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005731/0.1704, allocations: 353.4 kB / 0.733 GB, free: 9.277 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1705, allocations: 0 / 0.733 GB, free: 9.277 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002476/0.1707, allocations: 182.8 kB / 0.7332 GB, free: 9.074 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.171, allocations: 25.17 kB / 0.7332 GB, free: 9.055 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.174, allocations: 2.132 MB / 0.7353 GB, free: 6.777 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.1743, allocations: 0.7119 MB / 0.736 GB, free: 6.039 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.747e-05/0.1744, allocations: 20.53 kB / 0.736 GB, free: 6.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.65e-05/0.1745, allocations: 35.42 kB / 0.7361 GB, free: 5.984 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.1745, allocations: 0 / 0.7361 GB, free: 5.984 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.2031, allocations: 3.673 MB / 0.7396 GB, free: 2.418 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.368/8.571, allocations: 11.33 kB / 0.7397 GB, free: 2.414 MB / 0.545 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter_res.csv --start-time -1.21 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.517662154044956] Failed to read output from testmodel.py, exit status != 0: 8.641148156952113 8.657502082 8.495326649 Calling exit ...