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.001265/0.001265, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001459/0.001459, allocations: 225 kB / 23 MB, free: 4.914 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.38/1.38, 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.002497/0.002497, allocations: 297.7 kB / 313.5 MB, free: 2.621 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.145/1.145, allocations: 180.6 MB / 0.5377 GB, free: 14.55 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.002871/0.002871, allocations: 105.1 kB / 0.7407 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1657, allocations: 95.39 MB / 0.8339 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.003163/0.1689, allocations: 1.628 MB / 0.8354 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.17, allocations: 0.6583 MB / 0.8361 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.437e-05/0.1701, allocations: 7.938 kB / 0.8361 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.1703, allocations: 11.86 kB / 0.8361 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002079/0.1705, allocations: 43.77 kB / 0.8362 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.1709, allocations: 135.7 kB / 0.8363 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.1712, allocations: 187.6 kB / 0.8365 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1713, allocations: 13.64 kB / 0.8365 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.1715, allocations: 91.73 kB / 0.8366 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.1716, allocations: 83.66 kB / 0.8366 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.1717, allocations: 16 kB / 0.8367 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.318e-05/0.1718, allocations: 32 kB / 0.8367 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.284e-05/0.1718, allocations: 31.91 kB / 0.8367 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.563e-05/0.1719, allocations: 63.72 kB / 0.8368 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.1722, allocations: 183.2 kB / 0.837 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1722, allocations: 0 / 0.837 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1722, allocations: 0 / 0.837 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.1722, allocations: 0 / 0.837 GB, free: 4.828 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.000675/0.1729, allocations: 0.4886 MB / 0.8374 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1729, allocations: 13.33 kB / 0.8374 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.1731, allocations: 20.89 kB / 0.8375 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.1734, allocations: 178.5 kB / 0.8376 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.1734, allocations: 16.31 kB / 0.8376 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.1734, allocations: 12.38 kB / 0.8377 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.1737, allocations: 177.1 kB / 0.8378 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1737, allocations: 0 / 0.8378 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.855e-05/0.1738, allocations: 8 kB / 0.8378 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1738, allocations: 0 / 0.8378 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.174, allocations: 127.3 kB / 0.838 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006118/0.1746, allocations: 348.2 kB / 0.8383 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.1748, allocations: 141.9 kB / 0.8384 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.175, allocations: 124.2 kB / 0.8385 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.1751, allocations: 7.984 kB / 0.8386 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000291/0.1753, allocations: 234.2 kB / 0.8388 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.1753, allocations: 0 / 0.8388 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0007996/0.1761, allocations: 487.7 kB / 0.8392 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.1763, allocations: 166.2 kB / 0.8394 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.1764, allocations: 179.6 kB / 0.8396 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.1765, allocations: 29.7 kB / 0.8396 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.088e-05/0.1765, allocations: 112.3 kB / 0.8397 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.1766, allocations: 27.78 kB / 0.8397 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-05/0.1766, allocations: 37.7 kB / 0.8398 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1768, allocations: 330.8 kB / 0.8401 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.177, allocations: 162.8 kB / 0.8402 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.1772, allocations: 213.6 kB / 0.8404 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.1776, allocations: 312.9 kB / 0.8407 GB, free: 492 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1776, allocations: 4 kB / 0.8407 GB, free: 488 kB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006068/0.1782, allocations: 466.9 kB / 0.8412 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.462e-05/0.1783, allocations: 118.8 kB / 0.8413 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.1783, allocations: 4 kB / 0.8413 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1783, allocations: 0 / 0.8413 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1784, allocations: 16.23 kB / 0.8413 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1784, allocations: 11.94 kB / 0.8413 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.1785, allocations: 19.95 kB / 0.8414 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.1785, allocations: 11.98 kB / 0.8414 GB, free: 15.76 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.0001745/0.1787, allocations: 201.7 kB / 0.8416 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.1787, allocations: 15.91 kB / 0.8416 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.1788, allocations: 17.41 kB / 0.8416 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1788, allocations: 4 kB / 0.8416 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1788, allocations: 0 / 0.8416 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1788, allocations: 3.984 kB / 0.8416 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007253/0.1795, allocations: 0.5791 MB / 0.8422 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1795, allocations: 4 kB / 0.8422 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.189e-05/0.1796, allocations: 11.98 kB / 0.8422 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1796, allocations: 0 / 0.8422 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.1796, allocations: 7.984 kB / 0.8422 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1796, allocations: 0 / 0.8422 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1796, allocations: 0 / 0.8422 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005941/0.1802, allocations: 470 kB / 0.8426 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.1802, allocations: 15.91 kB / 0.8426 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.1803, allocations: 8 kB / 0.8427 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.1804, allocations: 8 kB / 0.8427 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.1804, allocations: 7.984 kB / 0.8427 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.1804, allocations: 11.98 kB / 0.8427 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001076/0.1805, allocations: 129.2 kB / 0.8428 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1805, allocations: 0 / 0.8428 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002862/0.1808, allocations: 47.81 kB / 0.8429 GB, free: 14.11 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.0002317/0.181, allocations: 130.1 kB / 0.843 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005937/0.1816, allocations: 0.5114 MB / 0.8435 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1816, allocations: 0.5 kB / 0.8435 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.1819, allocations: 254.3 kB / 0.8437 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.1822, allocations: 19.98 kB / 0.8437 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006407/0.1828, allocations: 377.3 kB / 0.8441 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.455e-05/0.1829, allocations: 97.17 kB / 0.8442 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.183, allocations: 15.44 kB / 0.8442 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.183, allocations: 4 kB / 0.8442 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of Templates: time 0.00425/0.1872, allocations: 2.241 MB / 0.8464 GB, free: 10.3 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: 8.428971293848008] Failed to read output from testmodel.py, exit status != 0: 0.19524526316672564 0.21007180499999994 0.034929181000000004 Calling exit ...