Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.649/1.649, allocations: 287.4 MB / 303.2 MB, free: 8.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 178.7 kB / 371.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.4 MB / 0.6305 GB, free: 10.48 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007385/0.0007385, allocations: 101.3 kB / 0.7438 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003344, allocations: 15.48 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1649, allocations: 115.3 MB / 0.9793 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.001507/0.1665, allocations: 1.304 MB / 0.9806 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007043/0.1672, allocations: 0.6139 MB / 0.9812 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.893e-05/0.1673, allocations: 3.938 kB / 0.9812 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.1674, allocations: 15.92 kB / 0.9812 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.1676, allocations: 40.95 kB / 0.9812 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.1679, allocations: 91.84 kB / 0.9813 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.168, allocations: 143.6 kB / 0.9814 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1681, allocations: 33.09 kB / 0.9815 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.1683, allocations: 79.75 kB / 0.9815 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1684, allocations: 75.72 kB / 0.9816 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.1684, allocations: 8 kB / 0.9816 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.487e-05/0.1685, allocations: 12 kB / 0.9816 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.942e-05/0.1685, allocations: 23.91 kB / 0.9817 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.1686, allocations: 53.58 kB / 0.9817 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.1687, allocations: 116 kB / 0.9818 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1687, allocations: 4 kB / 0.9818 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1687, allocations: 0 / 0.9818 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.1688, allocations: 4 kB / 0.9818 GB, free: 25.51 MB / 0.6198 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.0004363/0.1692, allocations: 0.5231 MB / 0.9823 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.1692, allocations: 8.031 kB / 0.9823 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.1693, allocations: 20.75 kB / 0.9824 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.1695, allocations: 228.2 kB / 0.9826 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1695, allocations: 8.375 kB / 0.9826 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.1696, allocations: 12.38 kB / 0.9826 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.1698, allocations: 125.7 kB / 0.9827 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1698, allocations: 0 / 0.9827 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1698, allocations: 4 kB / 0.9827 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.1698, allocations: 0 / 0.9827 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.17, allocations: 87.88 kB / 0.9828 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.1705, allocations: 412.6 kB / 0.9832 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.1707, allocations: 98.56 kB / 0.9833 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.1708, allocations: 80.81 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.1708, allocations: 0 / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/0.1711, allocations: 186.9 kB / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.1711, allocations: 0 / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0005934/0.1717, allocations: 360.7 kB / 0.9839 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.1717, allocations: 166.2 kB / 0.9841 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1719, allocations: 186.5 kB / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1719, allocations: 33.98 kB / 0.9843 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.1719, allocations: 108.3 kB / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.172, allocations: 27.64 kB / 0.9844 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-06/0.172, allocations: 7.938 kB / 0.9844 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.232e-05/0.172, allocations: 334.8 kB / 0.9847 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.1722, allocations: 55.97 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.1723, allocations: 106.8 kB / 0.9849 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.1726, allocations: 317 kB / 0.9852 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1726, allocations: 7.938 kB / 0.9852 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004299/0.173, allocations: 348.3 kB / 0.9855 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/0.1731, allocations: 122.8 kB / 0.9856 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1731, allocations: 0 / 0.9856 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1731, allocations: 4 kB / 0.9856 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1732, allocations: 23.92 kB / 0.9857 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1732, allocations: 0 / 0.9857 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.559e-05/0.1733, allocations: 20 kB / 0.9857 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.1734, allocations: 8 kB / 0.9857 GB, free: 21.12 MB / 0.6198 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 ($PRE.combiTimeTableWriter.str,combiTimeTableWriter.str,$PRE.csvWriter.str,csvWriter.str,$whenCondition2,combiTimeTableWriter.sampleTrigger,$whenCondition1,csvWriter.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.1735, allocations: 210.5 kB / 0.9859 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.1735, allocations: 15.81 kB / 0.9859 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.1736, allocations: 13.41 kB / 0.9859 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1736, allocations: 0 / 0.9859 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1736, allocations: 0 / 0.9859 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.1736, allocations: 96.84 kB / 0.986 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.1736, allocations: 8 kB / 0.986 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.66e-05/0.1737, allocations: 11.94 kB / 0.986 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.1738, allocations: 15.97 kB / 0.986 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004918/0.1743, allocations: 499 kB / 0.9865 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000434/0.1747, allocations: 486 kB / 0.987 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001452/0.1749, allocations: 91.95 kB / 0.9871 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.312e-05/0.175, allocations: 128.3 kB / 0.9872 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of Backend: time 9.42e-07/0.175, allocations: 7.938 kB / 0.9872 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000617/0.1756, allocations: 424.7 kB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004676/0.1761, allocations: 0.8183 MB / 0.9884 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of Templates: time 0.004112/0.1802, allocations: 2.057 MB / 0.9904 GB, free: 16.07 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)