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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 189.6 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002413/0.002413, allocations: 296.2 kB / 306.6 MB, free: 8.316 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.158/1.158, allocations: 180.9 MB / 0.53 GB, free: 14.39 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002668/0.002668, allocations: 103.9 kB / 0.7308 GB, free: 38.65 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1503, allocations: 94.2 MB / 0.8228 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.003083/0.1534, allocations: 1.637 MB / 0.8244 GB, free: 184 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009713/0.1543, allocations: 0.6171 MB / 0.825 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.1544, allocations: 0 / 0.825 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.1545, allocations: 31.78 kB / 0.8251 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.1547, allocations: 43.77 kB / 0.8251 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.1551, allocations: 115.7 kB / 0.8252 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000248/0.1553, allocations: 179.6 kB / 0.8254 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1555, allocations: 25.05 kB / 0.8254 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.1556, allocations: 87.69 kB / 0.8255 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.1557, allocations: 87.7 kB / 0.8256 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.1558, allocations: 16 kB / 0.8256 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.999e-05/0.1558, allocations: 31.98 kB / 0.8256 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.287e-05/0.1559, allocations: 27.92 kB / 0.8256 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.98e-05/0.156, allocations: 79.64 kB / 0.8257 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.1562, allocations: 171.3 kB / 0.8259 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1562, allocations: 4 kB / 0.8259 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1563, allocations: 0 / 0.8259 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.1563, allocations: 0 / 0.8259 GB, free: 14.67 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.000631/0.1569, allocations: 496.4 kB / 0.8264 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.1569, allocations: 8.031 kB / 0.8264 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.77e-05/0.157, allocations: 24.84 kB / 0.8264 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.1573, allocations: 186.9 kB / 0.8266 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1573, allocations: 12.38 kB / 0.8266 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.1573, allocations: 8.375 kB / 0.8266 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.1576, allocations: 121.7 kB / 0.8267 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1576, allocations: 0 / 0.8267 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.1576, allocations: 4 kB / 0.8267 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.1576, allocations: 0 / 0.8267 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.1578, allocations: 75.94 kB / 0.8268 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006256/0.1584, allocations: 383.7 kB / 0.8271 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.1586, allocations: 78.53 kB / 0.8272 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.1588, allocations: 68.81 kB / 0.8273 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1588, allocations: 4 kB / 0.8273 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002613/0.159, allocations: 182.7 kB / 0.8275 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.1591, allocations: 0 / 0.8275 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0007453/0.1598, allocations: 357 kB / 0.8278 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.725e-05/0.1599, allocations: 170.2 kB / 0.828 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.1601, allocations: 187.2 kB / 0.8281 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.1601, allocations: 29.7 kB / 0.8282 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.323e-05/0.1602, allocations: 108.4 kB / 0.8283 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.1602, allocations: 27.81 kB / 0.8283 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.697e-05/0.1603, allocations: 37.7 kB / 0.8283 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1604, allocations: 330.8 kB / 0.8287 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1605, allocations: 56.23 kB / 0.8287 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.1607, allocations: 102.8 kB / 0.8288 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.1611, allocations: 312.9 kB / 0.8291 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1611, allocations: 7.938 kB / 0.8291 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005515/0.1616, allocations: 360.1 kB / 0.8295 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.652e-05/0.1617, allocations: 114.8 kB / 0.8296 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1617, allocations: 4 kB / 0.8296 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1617, allocations: 4 kB / 0.8296 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.1618, allocations: 19.98 kB / 0.8296 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1618, allocations: 4.062 kB / 0.8296 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.735e-05/0.1619, allocations: 20.19 kB / 0.8296 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.1619, allocations: 8 kB / 0.8296 GB, free: 10.44 MB / 0.5762 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.0001569/0.1621, allocations: 204.2 kB / 0.8298 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.1621, allocations: 19.91 kB / 0.8298 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.1622, allocations: 13.41 kB / 0.8299 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1622, allocations: 0 / 0.8299 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1622, allocations: 0 / 0.8299 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.1622, allocations: 0 / 0.8299 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007341/0.1629, allocations: 0.571 MB / 0.8304 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1629, allocations: 0 / 0.8304 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.406e-05/0.163, allocations: 11.98 kB / 0.8304 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.163, allocations: 0 / 0.8304 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.163, allocations: 4 kB / 0.8304 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.163, allocations: 4 kB / 0.8304 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.163, allocations: 3.938 kB / 0.8304 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005699/0.1636, allocations: 418.6 kB / 0.8308 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.1636, allocations: 11.91 kB / 0.8308 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.1636, allocations: 8 kB / 0.8309 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.1637, allocations: 7.938 kB / 0.8309 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.1638, allocations: 11.92 kB / 0.8309 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.1638, allocations: 15.98 kB / 0.8309 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.911e-05/0.1639, allocations: 124.8 kB / 0.831 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1639, allocations: 0 / 0.831 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002769/0.1642, allocations: 43.94 kB / 0.831 GB, free: 8.875 MB / 0.5762 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.0002138/0.1644, allocations: 121.5 kB / 0.8312 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005005/0.1649, allocations: 357.5 kB / 0.8315 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1649, allocations: 0 / 0.8315 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.1651, allocations: 186.7 kB / 0.8317 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.1654, allocations: 26.33 kB / 0.8317 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005413/0.166, allocations: 280.6 kB / 0.832 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.1663, allocations: 0.7157 MB / 0.8327 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.884e-05/0.1663, allocations: 16.48 kB / 0.8327 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.1664, allocations: 19.42 kB / 0.8327 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of SimCode: time 3.4e-07/0.1664, allocations: 0 / 0.8327 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of Templates: time 0.005404/0.1718, allocations: 2.146 MB / 0.8348 GB, free: 4.918 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.616932975128293] Failed to read output from testmodel.py, exit status != 0: 0.17881337460130453 0.19345166800000002 0.034308527000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fdc62ab17b0>