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.001766/0.001766, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001561/0.001561, allocations: 214.7 kB / 22.24 MB, free: 5.262 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.785 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.00264/0.00264, allocations: 284.1 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.277/1.277, allocations: 180.6 MB / 0.5369 GB, free: 14.59 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.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: 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.003097/0.003097, allocations: 100.9 kB / 0.74 GB, free: 27.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1665, allocations: 95.38 MB / 0.8331 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.002969/0.1695, allocations: 1.634 MB / 0.8347 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1706, allocations: 0.6546 MB / 0.8354 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.482e-05/0.1707, allocations: 3.938 kB / 0.8354 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.1709, allocations: 19.86 kB / 0.8354 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.1711, allocations: 42.62 kB / 0.8354 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.1715, allocations: 127.7 kB / 0.8355 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.1718, allocations: 191.6 kB / 0.8357 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1719, allocations: 13.62 kB / 0.8357 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.1721, allocations: 95.69 kB / 0.8358 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.1723, allocations: 83.72 kB / 0.8359 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.1723, allocations: 12 kB / 0.8359 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.883e-05/0.1724, allocations: 35.98 kB / 0.836 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.207e-05/0.1725, allocations: 31.91 kB / 0.836 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.44e-05/0.1726, allocations: 63.72 kB / 0.836 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.1729, allocations: 183.2 kB / 0.8362 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1729, allocations: 0 / 0.8362 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.294e-06/0.1729, allocations: 0 / 0.8362 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.1729, allocations: 0 / 0.8362 GB, free: 4.672 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.0007444/0.1736, allocations: 0.4925 MB / 0.8367 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1737, allocations: 9.344 kB / 0.8367 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.1739, allocations: 24.88 kB / 0.8367 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.1742, allocations: 182.5 kB / 0.8369 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.1742, allocations: 4.375 kB / 0.8369 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.1742, allocations: 16.38 kB / 0.8369 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.1745, allocations: 177 kB / 0.8371 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1746, allocations: 4 kB / 0.8371 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.1746, allocations: 4 kB / 0.8371 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1746, allocations: 4 kB / 0.8371 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002489/0.1748, allocations: 127.3 kB / 0.8372 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006634/0.1755, allocations: 348.2 kB / 0.8376 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.1757, allocations: 129.9 kB / 0.8377 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.1759, allocations: 136.2 kB / 0.8378 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.176, allocations: 4 kB / 0.8378 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003186/0.1763, allocations: 238.2 kB / 0.838 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.1763, allocations: 0 / 0.838 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0008521/0.1771, allocations: 479.7 kB / 0.8385 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.1772, allocations: 166.2 kB / 0.8387 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.1774, allocations: 179.6 kB / 0.8388 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.1775, allocations: 29.7 kB / 0.8389 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.888e-05/0.1775, allocations: 116.3 kB / 0.839 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.1776, allocations: 23.8 kB / 0.839 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/0.1777, allocations: 49.64 kB / 0.839 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1778, allocations: 326.8 kB / 0.8394 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.178, allocations: 162.8 kB / 0.8395 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.1783, allocations: 217.6 kB / 0.8397 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.1786, allocations: 312.9 kB / 0.84 GB, free: 324 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1786, allocations: 0 / 0.84 GB, free: 324 kB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006678/0.1793, allocations: 467.1 kB / 0.8405 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.206e-05/0.1794, allocations: 114.8 kB / 0.8406 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1794, allocations: 4 kB / 0.8406 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1794, allocations: 4 kB / 0.8406 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.1795, allocations: 16.27 kB / 0.8406 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1795, allocations: 0 / 0.8406 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.1796, allocations: 23.94 kB / 0.8406 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.1797, allocations: 11.94 kB / 0.8406 GB, free: 15.61 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.0001806/0.1798, allocations: 206.5 kB / 0.8408 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.1799, allocations: 24 kB / 0.8408 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.1799, allocations: 17.39 kB / 0.8409 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1799, allocations: 0 / 0.8409 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.1799, allocations: 0 / 0.8409 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1799, allocations: 0 / 0.8409 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007897/0.1807, allocations: 0.5789 MB / 0.8414 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1807, allocations: 0 / 0.8414 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.668e-05/0.1808, allocations: 11.98 kB / 0.8414 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1808, allocations: 0 / 0.8414 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.1808, allocations: 8 kB / 0.8414 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1808, allocations: 4 kB / 0.8414 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1808, allocations: 0 / 0.8414 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006412/0.1814, allocations: 474 kB / 0.8419 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.1815, allocations: 11.91 kB / 0.8419 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.1815, allocations: 8 kB / 0.8419 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.1816, allocations: 7.984 kB / 0.8419 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.1817, allocations: 7.984 kB / 0.8419 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.1817, allocations: 8 kB / 0.8419 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001161/0.1818, allocations: 137.2 kB / 0.8421 GB, free: 14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1818, allocations: 0 / 0.8421 GB, free: 14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003028/0.1821, allocations: 39.88 kB / 0.8421 GB, free: 13.96 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.0002324/0.1823, allocations: 124.4 kB / 0.8422 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006634/0.183, allocations: 0.5192 MB / 0.8427 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.183, allocations: 0 / 0.8427 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.1833, allocations: 246.3 kB / 0.843 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.1837, allocations: 20 kB / 0.843 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007407/0.1844, allocations: 356 kB / 0.8433 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.1845, allocations: 97.17 kB / 0.8434 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.464e-05/0.1846, allocations: 24.45 kB / 0.8434 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.078e-05/0.1846, allocations: 19.44 kB / 0.8435 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.1846, allocations: 0 / 0.8435 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of Templates: time 0.006059/0.1907, allocations: 2.265 MB / 0.8457 GB, free: 10.18 MB / 0.5919 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: 6.3597029484808445] Failed to read output from testmodel.py, exit status != 0: 0.1979937944561243 0.213040638 0.037084597000000004 Calling exit ...