Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001337/0.001337, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00161/0.00161, allocations: 215.9 kB / 22.25 MB, free: 4.855 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.395/1.395, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002549/0.002549, allocations: 282.8 kB / 312.7 MB, free: 2.613 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.19/1.19, allocations: 180.6 MB / 0.5369 GB, free: 14.47 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002907/0.002907, allocations: 109.4 kB / 0.7395 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1594, allocations: 95.38 MB / 0.8326 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.003208/0.1626, allocations: 1.63 MB / 0.8342 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.1637, allocations: 0.6546 MB / 0.8349 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.146e-05/0.1638, allocations: 11.94 kB / 0.8349 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.1639, allocations: 11.86 kB / 0.8349 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.1641, allocations: 49.33 kB / 0.8349 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.1646, allocations: 127.7 kB / 0.8351 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.1649, allocations: 187.6 kB / 0.8352 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.165, allocations: 17.92 kB / 0.8353 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.1652, allocations: 87.8 kB / 0.8353 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.1653, allocations: 79.66 kB / 0.8354 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.1653, allocations: 16 kB / 0.8354 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.698e-05/0.1654, allocations: 40 kB / 0.8355 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.329e-05/0.1655, allocations: 27.86 kB / 0.8355 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.879e-05/0.1656, allocations: 67.7 kB / 0.8356 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.1659, allocations: 175.3 kB / 0.8357 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1659, allocations: 0 / 0.8357 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1659, allocations: 0 / 0.8357 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.1659, allocations: 0 / 0.8357 GB, free: 5.121 MB / 0.5762 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.0006849/0.1666, allocations: 496.4 kB / 0.8362 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1666, allocations: 17.33 kB / 0.8362 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.1667, allocations: 38.75 kB / 0.8362 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.1668, allocations: 32.81 kB / 0.8363 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.1671, allocations: 182.4 kB / 0.8365 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.1671, allocations: 8.375 kB / 0.8365 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.1672, allocations: 16.38 kB / 0.8365 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.1675, allocations: 169 kB / 0.8366 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1675, allocations: 3.938 kB / 0.8366 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.1675, allocations: 4 kB / 0.8366 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1675, allocations: 0 / 0.8366 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.1677, allocations: 127.3 kB / 0.8368 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006398/0.1684, allocations: 375.6 kB / 0.8371 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.1686, allocations: 134 kB / 0.8373 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.1688, allocations: 128.1 kB / 0.8374 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1688, allocations: 4 kB / 0.8374 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003025/0.1691, allocations: 246.1 kB / 0.8376 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.1691, allocations: 0 / 0.8376 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0007907/0.1699, allocations: 475.6 kB / 0.8381 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.17, allocations: 166.4 kB / 0.8382 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.1702, allocations: 175.6 kB / 0.8384 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.1702, allocations: 33.7 kB / 0.8384 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/0.1703, allocations: 116.3 kB / 0.8385 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.1703, allocations: 23.8 kB / 0.8386 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.1704, allocations: 45.7 kB / 0.8386 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1705, allocations: 330.8 kB / 0.8389 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.1707, allocations: 158.8 kB / 0.8391 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.171, allocations: 217.6 kB / 0.8393 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.1713, allocations: 316.9 kB / 0.8396 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.1713, allocations: 0 / 0.8396 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006332/0.172, allocations: 462.9 kB / 0.84 GB, free: 176 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.965e-05/0.1721, allocations: 125.4 kB / 0.8401 GB, free: 28 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1721, allocations: 4 kB / 0.8401 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1721, allocations: 4 kB / 0.8401 GB, free: 20 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1722, allocations: 15.98 kB / 0.8402 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-05/0.1722, allocations: 4 kB / 0.8402 GB, free: 16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.1723, allocations: 19.94 kB / 0.8402 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.1723, allocations: 15.92 kB / 0.8402 GB, free: 15.96 MB / 0.5919 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.0001716/0.1725, allocations: 194 kB / 0.8404 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.1726, allocations: 19.91 kB / 0.8404 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.475e-05/0.1726, allocations: 25.39 kB / 0.8404 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1726, allocations: 3.938 kB / 0.8404 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1726, allocations: 0 / 0.8404 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1726, allocations: 0 / 0.8404 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007787/0.1734, allocations: 0.5979 MB / 0.841 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1734, allocations: 0 / 0.841 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-05/0.1735, allocations: 15.92 kB / 0.841 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1735, allocations: 4 kB / 0.841 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.1735, allocations: 7.984 kB / 0.841 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.1735, allocations: 7.984 kB / 0.8411 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1735, allocations: 3.938 kB / 0.8411 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000602/0.1741, allocations: 462.1 kB / 0.8415 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.1741, allocations: 15.89 kB / 0.8415 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.1741, allocations: 8 kB / 0.8415 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.1743, allocations: 8 kB / 0.8415 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.1743, allocations: 11.86 kB / 0.8415 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.1743, allocations: 12 kB / 0.8415 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001097/0.1744, allocations: 129.2 kB / 0.8417 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1744, allocations: 4 kB / 0.8417 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002975/0.1747, allocations: 39.94 kB / 0.8417 GB, free: 14.28 MB / 0.5919 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.001067/0.1758, allocations: 1.012 MB / 0.8427 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006193/0.1764, allocations: 0.5231 MB / 0.8432 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1764, allocations: 0 / 0.8432 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.1767, allocations: 242.1 kB / 0.8434 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.177, allocations: 29.64 kB / 0.8435 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.18, allocations: 2.606 MB / 0.846 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.1801, allocations: 97.19 kB / 0.8461 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.297e-05/0.1802, allocations: 32.27 kB / 0.8461 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.755e-05/0.1802, allocations: 31.42 kB / 0.8462 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.1802, allocations: 3.938 kB / 0.8462 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03283/0.2131, allocations: 4.371 MB / 0.8504 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.03, allocations: 4.922 kB / 0.8504 GB, free: 5.074 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVWriter.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.13448836421594] Failed to read output from testmodel.py, exit status != 0: 11.132706567645073 11.148482331 10.979584737 Calling exit ...