Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 101 kB / 18.91 MB, free: 3.406 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 201.9 kB / 22.07 MB, free: 256 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 250.7 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8363/0.8363, allocations: 128.4 MB / 434.1 MB, free: 6.219 MB / 334.1 MB [Timeout remaining time 89] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 69.33 kB / 0.6012 GB, free: 21.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1667, allocations: 83.25 MB / 0.6825 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.003161/0.1698, allocations: 1.613 MB / 0.6841 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1709, allocations: 0.6232 MB / 0.6847 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.224e-05/0.171, allocations: 4 kB / 0.6847 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.1712, allocations: 19.8 kB / 0.6847 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.1714, allocations: 48.38 kB / 0.6848 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.1717, allocations: 111.8 kB / 0.6849 GB, free: 380 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.172, allocations: 191.5 kB / 0.6851 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1721, allocations: 13.12 kB / 0.6851 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.1723, allocations: 87.73 kB / 0.6852 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.1724, allocations: 91.75 kB / 0.6853 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.211e-05/0.1725, allocations: 12 kB / 0.6853 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.646e-05/0.1726, allocations: 28 kB / 0.6853 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.444e-05/0.1727, allocations: 31.86 kB / 0.6853 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.1728, allocations: 71.66 kB / 0.6854 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.1731, allocations: 175.3 kB / 0.6856 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1731, allocations: 0 / 0.6856 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.475e-06/0.1731, allocations: 0 / 0.6856 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.1731, allocations: 0 / 0.6856 GB, free: 15.68 MB / 0.5137 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.0008097/0.1739, allocations: 0.5678 MB / 0.6861 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1739, allocations: 8.031 kB / 0.6861 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.881e-05/0.174, allocations: 24.84 kB / 0.6862 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.1744, allocations: 228.3 kB / 0.6864 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.1744, allocations: 16.38 kB / 0.6864 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.1744, allocations: 12.31 kB / 0.6864 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.1747, allocations: 121.5 kB / 0.6865 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1747, allocations: 0 / 0.6865 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.1747, allocations: 4 kB / 0.6865 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1747, allocations: 7.938 kB / 0.6865 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.1749, allocations: 71.94 kB / 0.6866 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006841/0.1756, allocations: 408.7 kB / 0.687 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.1758, allocations: 78.47 kB / 0.6871 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.176, allocations: 72.81 kB / 0.6871 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.176, allocations: 0 / 0.6871 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002822/0.1763, allocations: 178.9 kB / 0.6873 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1763, allocations: 0 / 0.6873 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0007673/0.1771, allocations: 352.8 kB / 0.6876 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.1772, allocations: 174.2 kB / 0.6878 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1774, allocations: 178.6 kB / 0.688 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.1774, allocations: 33.64 kB / 0.688 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.1775, allocations: 116.3 kB / 0.6881 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.1775, allocations: 23.84 kB / 0.6881 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.588e-05/0.1776, allocations: 41.7 kB / 0.6882 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.1778, allocations: 326.8 kB / 0.6885 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.1779, allocations: 59.89 kB / 0.6886 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.1781, allocations: 99.58 kB / 0.6886 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003806/0.1785, allocations: 316.9 kB / 0.6889 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1785, allocations: 0 / 0.6889 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005676/0.179, allocations: 348.2 kB / 0.6893 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.243e-05/0.1791, allocations: 119.1 kB / 0.6894 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1791, allocations: 4 kB / 0.6894 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1791, allocations: 0 / 0.6894 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.1793, allocations: 27.86 kB / 0.6894 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1793, allocations: 0 / 0.6894 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.1794, allocations: 24.14 kB / 0.6894 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.1794, allocations: 8 kB / 0.6895 GB, free: 11.27 MB / 0.5137 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.0001873/0.1796, allocations: 206.9 kB / 0.6897 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.1796, allocations: 19.91 kB / 0.6897 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.1797, allocations: 9.406 kB / 0.6897 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1797, allocations: 4 kB / 0.6897 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1797, allocations: 0 / 0.6897 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1797, allocations: 0 / 0.6897 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008023/0.1805, allocations: 0.5914 MB / 0.6903 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1805, allocations: 0 / 0.6903 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.454e-05/0.1805, allocations: 15.98 kB / 0.6903 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1805, allocations: 0 / 0.6903 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.1806, allocations: 8 kB / 0.6903 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1806, allocations: 0 / 0.6903 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1806, allocations: 3.938 kB / 0.6903 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006215/0.1812, allocations: 422.6 kB / 0.6907 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.1812, allocations: 93.02 kB / 0.6908 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.1813, allocations: 4 kB / 0.6908 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.1814, allocations: 12 kB / 0.6908 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.1815, allocations: 11.92 kB / 0.6908 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.1815, allocations: 4 kB / 0.6908 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001126/0.1816, allocations: 131.2 kB / 0.6909 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1816, allocations: 0 / 0.6909 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002956/0.1819, allocations: 40 kB / 0.691 GB, free: 9.574 MB / 0.5137 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.000266/0.1821, allocations: 131.1 kB / 0.6911 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000544/0.1827, allocations: 357.5 kB / 0.6914 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1827, allocations: 0 / 0.6914 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.1829, allocations: 182.8 kB / 0.6916 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.1833, allocations: 23.98 kB / 0.6916 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006471/0.1839, allocations: 309.5 kB / 0.6919 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.1843, allocations: 0.7122 MB / 0.6926 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.1843, allocations: 11.44 kB / 0.6926 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.1843, allocations: 0 / 0.6926 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of Templates: time 0.004515/0.1888, allocations: 2.175 MB / 0.6948 GB, free: 5.574 MB / 0.5137 GB [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 480]