Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.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.001255/0.001255, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001487/0.001487, allocations: 188.7 kB / 22.23 MB, free: 5.137 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.323/1.323, allocations: 225.6 MB / 251 MB, free: 13.02 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.002394/0.002394, allocations: 286.7 kB / 306.5 MB, free: 8.359 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.169/1.169, allocations: 180.9 MB / 0.53 GB, free: 14.42 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.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002706/0.002706, allocations: 101 kB / 0.7308 GB, free: 39.05 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1523, allocations: 94.2 MB / 0.8228 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.002892/0.1552, allocations: 1.704 MB / 0.8245 GB, free: 180 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002198/0.1574, allocations: 1.609 MB / 0.8261 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.005e-05/0.1574, allocations: 0 / 0.8261 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.1577, allocations: 43.77 kB / 0.8261 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.1579, allocations: 75.61 kB / 0.8262 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.1582, allocations: 115.6 kB / 0.8263 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.1584, allocations: 119.6 kB / 0.8264 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.04e-05/0.1584, allocations: 9.297 kB / 0.8264 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.1586, allocations: 63.64 kB / 0.8265 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008565/0.1671, allocations: 51.77 kB / 0.8265 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.1671, allocations: 4 kB / 0.8265 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.1673, allocations: 63.97 kB / 0.8266 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.148e-05/0.1674, allocations: 27.91 kB / 0.8266 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.982e-05/0.1675, allocations: 39.69 kB / 0.8267 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.1678, allocations: 159.3 kB / 0.8268 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1678, allocations: 0 / 0.8268 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1678, allocations: 0 / 0.8268 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.1678, allocations: 0 / 0.8268 GB, free: 13.8 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006295/0.1684, allocations: 373.4 kB / 0.8272 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1685, allocations: 12.03 kB / 0.8272 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/0.1685, allocations: 12.83 kB / 0.8272 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.1688, allocations: 162.8 kB / 0.8273 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.1688, allocations: 12.31 kB / 0.8274 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.1688, allocations: 8.109 kB / 0.8274 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.1691, allocations: 97.08 kB / 0.8275 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1691, allocations: 4 kB / 0.8275 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1691, allocations: 3.984 kB / 0.8275 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/0.1691, allocations: 0 / 0.8275 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.1693, allocations: 51.91 kB / 0.8275 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.1695, allocations: 182.5 kB / 0.8277 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.1698, allocations: 107.8 kB / 0.8278 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.1699, allocations: 54.55 kB / 0.8278 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.1699, allocations: 0 / 0.8278 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.1702, allocations: 113.9 kB / 0.8279 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.1702, allocations: 0 / 0.8279 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0004826/0.1707, allocations: 157.5 kB / 0.8281 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/0.1707, allocations: 144.4 kB / 0.8282 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.1709, allocations: 170.6 kB / 0.8284 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.1709, allocations: 29.7 kB / 0.8284 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.171, allocations: 100.1 kB / 0.8285 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.171, allocations: 27.78 kB / 0.8285 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.1711, allocations: 25.72 kB / 0.8286 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1712, allocations: 322.8 kB / 0.8289 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.1713, allocations: 31.97 kB / 0.8289 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.1715, allocations: 64.27 kB / 0.829 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.1717, allocations: 91.59 kB / 0.8291 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1717, allocations: 4.031 kB / 0.8291 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003196/0.172, allocations: 145.4 kB / 0.8292 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.172, allocations: 4 kB / 0.8292 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.172, allocations: 4 kB / 0.8292 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1721, allocations: 3.938 kB / 0.8292 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.1722, allocations: 19.98 kB / 0.8292 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1722, allocations: 0 / 0.8292 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.663e-05/0.1723, allocations: 16.03 kB / 0.8292 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.1723, allocations: 8.172 kB / 0.8293 GB, free: 11 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001408/0.1724, allocations: 132 kB / 0.8294 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.1725, allocations: 15.84 kB / 0.8294 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.1727, allocations: 111 kB / 0.8295 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1727, allocations: 0 / 0.8295 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1727, allocations: 0 / 0.8295 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1727, allocations: 4 kB / 0.8295 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.1729, allocations: 188.5 kB / 0.8297 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1729, allocations: 0 / 0.8297 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.513e-05/0.173, allocations: 15.98 kB / 0.8297 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.173, allocations: 0 / 0.8297 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.173, allocations: 0 / 0.8297 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.173, allocations: 4 kB / 0.8297 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.173, allocations: 0 / 0.8297 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.1734, allocations: 170.6 kB / 0.8299 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/0.1734, allocations: 19.89 kB / 0.8299 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.1734, allocations: 4 kB / 0.8299 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.1735, allocations: 8 kB / 0.8299 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.1736, allocations: 12.11 kB / 0.8299 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.1736, allocations: 11.98 kB / 0.8299 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001282/0.1737, allocations: 136.2 kB / 0.83 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1737, allocations: 0 / 0.83 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002471/0.174, allocations: 31.92 kB / 0.8301 GB, free: 10.08 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * 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: 0 * Record equations: 0 * When equations: 2 * 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.001666/0.1756, allocations: 457.6 kB / 0.8305 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002936/0.1759, allocations: 79.89 kB / 0.8306 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1759, allocations: 0 / 0.8306 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.1761, allocations: 39.97 kB / 0.8306 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.1763, allocations: 47.62 kB / 0.8307 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.1768, allocations: 233.5 kB / 0.8309 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.1771, allocations: 0.7078 MB / 0.8316 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.458e-05/0.1772, allocations: 20.97 kB / 0.8316 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.1773, allocations: 23.42 kB / 0.8316 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1773, allocations: 0 / 0.8316 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of Templates: time 0.005267/0.1825, allocations: 2.094 MB / 0.8337 GB, free: 6.527 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.702560280449688] Failed to read output from testmodel.py, exit status != 0: 0.18964659702032804 0.20391261500000002 0.033189889 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f719f09d7b0>