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.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.001281/0.001281, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001395/0.001395, allocations: 217.3 kB / 22.99 MB, free: 4.945 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.382/1.382, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.002581/0.002581, allocations: 293.7 kB / 313.5 MB, free: 2.699 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.158/1.158, allocations: 180.6 MB / 0.5377 GB, free: 14.61 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: 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: 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.002866/0.002866, allocations: 105.1 kB / 0.7407 GB, free: 27.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1681, allocations: 95.38 MB / 0.8339 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.003271/0.1714, allocations: 1.679 MB / 0.8355 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00256/0.174, allocations: 1.726 MB / 0.8372 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.389e-05/0.174, allocations: 0 / 0.8372 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.1743, allocations: 43.7 kB / 0.8372 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.1746, allocations: 107.5 kB / 0.8373 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.1748, allocations: 95.64 kB / 0.8374 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.175, allocations: 139.5 kB / 0.8376 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.699e-05/0.1751, allocations: 13.62 kB / 0.8376 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.1753, allocations: 63.77 kB / 0.8376 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003698/0.1756, allocations: 63.62 kB / 0.8377 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.1757, allocations: 8 kB / 0.8377 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.1758, allocations: 103.9 kB / 0.8378 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.1759, allocations: 27.91 kB / 0.8378 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.633e-05/0.176, allocations: 39.73 kB / 0.8379 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.1763, allocations: 207.2 kB / 0.8381 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.1763, allocations: 7.984 kB / 0.8381 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1763, allocations: 0 / 0.8381 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.1763, allocations: 0 / 0.8381 GB, free: 3.512 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.000653/0.1769, allocations: 393.2 kB / 0.8384 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.177, allocations: 13.34 kB / 0.8385 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.1771, allocations: 24.81 kB / 0.8385 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.1774, allocations: 167.1 kB / 0.8386 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.1775, allocations: 8.312 kB / 0.8386 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1775, allocations: 8.062 kB / 0.8387 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.1777, allocations: 126.8 kB / 0.8388 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1777, allocations: 4 kB / 0.8388 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1778, allocations: 0 / 0.8388 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1778, allocations: 4 kB / 0.8388 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.1779, allocations: 59.88 kB / 0.8388 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.1782, allocations: 155.1 kB / 0.839 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.1784, allocations: 111.8 kB / 0.8391 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.1786, allocations: 54.61 kB / 0.8391 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.1786, allocations: 0 / 0.8391 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.1788, allocations: 117.8 kB / 0.8393 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.1788, allocations: 4 kB / 0.8393 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0004798/0.1793, allocations: 173.6 kB / 0.8394 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/0.1794, allocations: 136.7 kB / 0.8396 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.1796, allocations: 203.1 kB / 0.8398 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.1796, allocations: 33.7 kB / 0.8398 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.1797, allocations: 108.1 kB / 0.8399 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.1797, allocations: 19.86 kB / 0.8399 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.1797, allocations: 25.7 kB / 0.8399 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1799, allocations: 326.8 kB / 0.8402 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.18, allocations: 35.97 kB / 0.8403 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.1801, allocations: 89.97 kB / 0.8404 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.1804, allocations: 103.4 kB / 0.8405 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1804, allocations: 0 / 0.8405 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003051/0.1807, allocations: 141.4 kB / 0.8406 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1807, allocations: 6.188 kB / 0.8406 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1807, allocations: 8.094 kB / 0.8406 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1807, allocations: 0 / 0.8406 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1808, allocations: 23.92 kB / 0.8406 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1808, allocations: 0 / 0.8406 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.112e-05/0.1809, allocations: 15.94 kB / 0.8406 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.1809, allocations: 7.984 kB / 0.8407 GB, free: 0.5781 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.0001051/0.181, allocations: 119.2 kB / 0.8408 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.1811, allocations: 24.03 kB / 0.8408 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.1813, allocations: 123 kB / 0.8409 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1813, allocations: 7.938 kB / 0.8409 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.1813, allocations: 7.938 kB / 0.8409 GB, free: 292 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1813, allocations: 0 / 0.8409 GB, free: 292 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.1815, allocations: 149.2 kB / 0.8411 GB, free: 112 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1815, allocations: 0 / 0.8411 GB, free: 112 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.169e-05/0.1816, allocations: 19.98 kB / 0.8411 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.1816, allocations: 3.938 kB / 0.8411 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1816, allocations: 4 kB / 0.8411 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1816, allocations: 4.125 kB / 0.8411 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1816, allocations: 3.938 kB / 0.8411 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.182, allocations: 182.8 kB / 0.8413 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.182, allocations: 23.83 kB / 0.8413 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.182, allocations: 0 / 0.8413 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.1821, allocations: 7.984 kB / 0.8413 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.1821, allocations: 11.98 kB / 0.8413 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.1822, allocations: 7.984 kB / 0.8413 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001449/0.1823, allocations: 157.1 kB / 0.8415 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1823, allocations: 0 / 0.8415 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002644/0.1826, allocations: 47.86 kB / 0.8415 GB, free: 15.62 MB / 0.5919 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 (10): * Single equations (assignments): 8 * 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.001822/0.1844, allocations: 0.5363 MB / 0.842 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002896/0.1847, allocations: 87.88 kB / 0.8421 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1847, allocations: 0 / 0.8421 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.1848, allocations: 47.91 kB / 0.8422 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.1851, allocations: 33.03 kB / 0.8422 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005352/0.1856, allocations: 291.4 kB / 0.8425 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.9e-05/0.1857, allocations: 97.17 kB / 0.8426 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.3e-05/0.1858, allocations: 23.42 kB / 0.8426 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.1858, allocations: 0 / 0.8426 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of Templates: time 0.004609/0.1904, allocations: 2.645 MB / 0.8452 GB, free: 12.04 MB / 0.5919 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: 8.558304856996983] Failed to read output from testmodel.py, exit status != 0: 0.19749870384112 0.21188710900000002 0.032695041 Calling exit ...