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] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 111 kB / 17.33 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 201.9 kB / 18.33 MB, free: 4.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 244.8 MB, free: 13.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.849/0.849, allocations: 128.4 MB / 426.1 MB, free: 7.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 64.53 kB / 0.5911 GB, free: 21.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1633, allocations: 83.26 MB / 0.6725 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.003475/0.1668, allocations: 1.597 MB / 0.674 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1679, allocations: 0.6311 MB / 0.6746 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.65e-05/0.1679, allocations: 4 kB / 0.6746 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.1681, allocations: 15.8 kB / 0.6747 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.1684, allocations: 47.75 kB / 0.6747 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.1687, allocations: 111.8 kB / 0.6748 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.169, allocations: 187.5 kB / 0.675 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1692, allocations: 25.11 kB / 0.675 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.1693, allocations: 87.75 kB / 0.6751 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.1695, allocations: 83.72 kB / 0.6752 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.379e-05/0.1696, allocations: 12 kB / 0.6752 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.242e-05/0.1696, allocations: 24 kB / 0.6752 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.1697, allocations: 31.89 kB / 0.6752 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.1698, allocations: 75.66 kB / 0.6753 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.1701, allocations: 171.3 kB / 0.6755 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1701, allocations: 4 kB / 0.6755 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1701, allocations: 0 / 0.6755 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.1701, allocations: 4 kB / 0.6755 GB, free: 0.7578 MB / 0.4981 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.0008257/0.171, allocations: 0.56 MB / 0.676 GB, free: 128 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.171, allocations: 12.03 kB / 0.676 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.771e-05/0.1711, allocations: 24.78 kB / 0.6761 GB, free: 92 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.1714, allocations: 240.3 kB / 0.6763 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.1715, allocations: 8.375 kB / 0.6763 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.545e-05/0.1715, allocations: 20.36 kB / 0.6763 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.1718, allocations: 113.7 kB / 0.6764 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1718, allocations: 0 / 0.6764 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.1718, allocations: 8 kB / 0.6764 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1718, allocations: 0 / 0.6764 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.172, allocations: 71.88 kB / 0.6765 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006979/0.1727, allocations: 416.6 kB / 0.6769 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.1729, allocations: 78.56 kB / 0.677 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.1731, allocations: 64.81 kB / 0.677 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.1731, allocations: 8.141 kB / 0.677 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003094/0.1734, allocations: 174.7 kB / 0.6772 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.1734, allocations: 0 / 0.6772 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0007885/0.1742, allocations: 360.8 kB / 0.6776 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/0.1744, allocations: 166.1 kB / 0.6777 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.1746, allocations: 178.7 kB / 0.6779 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.1746, allocations: 29.7 kB / 0.6779 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.689e-05/0.1747, allocations: 116.2 kB / 0.678 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.1747, allocations: 27.84 kB / 0.6781 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-05/0.1748, allocations: 41.7 kB / 0.6781 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.175, allocations: 330.8 kB / 0.6784 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1752, allocations: 47.97 kB / 0.6785 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.1753, allocations: 110.8 kB / 0.6786 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.1757, allocations: 309.2 kB / 0.6789 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1757, allocations: 3.938 kB / 0.6789 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006945/0.1764, allocations: 344.2 kB / 0.6792 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.1765, allocations: 123 kB / 0.6793 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1765, allocations: 8 kB / 0.6793 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.1765, allocations: 4 kB / 0.6793 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.1767, allocations: 19.92 kB / 0.6793 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1767, allocations: 0 / 0.6793 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.1768, allocations: 19.89 kB / 0.6794 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.1768, allocations: 15.98 kB / 0.6794 GB, free: 12.34 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.0001849/0.177, allocations: 195.3 kB / 0.6796 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.177, allocations: 19.91 kB / 0.6796 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/0.1771, allocations: 21.41 kB / 0.6796 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1771, allocations: 0 / 0.6796 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1771, allocations: 0 / 0.6796 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1771, allocations: 3.984 kB / 0.6796 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007921/0.1779, allocations: 0.5837 MB / 0.6802 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1779, allocations: 0 / 0.6802 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.644e-05/0.1779, allocations: 11.98 kB / 0.6802 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1779, allocations: 0 / 0.6802 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.178, allocations: 8 kB / 0.6802 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.178, allocations: 7.922 kB / 0.6802 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/0.178, allocations: 11.94 kB / 0.6802 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/0.1786, allocations: 414.7 kB / 0.6806 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.1786, allocations: 88.95 kB / 0.6807 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.1787, allocations: 8 kB / 0.6807 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.1788, allocations: 11.98 kB / 0.6807 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.1789, allocations: 15.92 kB / 0.6807 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.1789, allocations: 7.984 kB / 0.6807 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001092/0.179, allocations: 127.2 kB / 0.6808 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.179, allocations: 0 / 0.6808 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002941/0.1793, allocations: 36 kB / 0.6809 GB, free: 10.65 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.0003163/0.1796, allocations: 142.2 kB / 0.681 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005265/0.1801, allocations: 357.4 kB / 0.6814 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1801, allocations: 0 / 0.6814 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.1804, allocations: 178.8 kB / 0.6815 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.1807, allocations: 20.48 kB / 0.6815 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006454/0.1813, allocations: 279.8 kB / 0.6818 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.1817, allocations: 0.708 MB / 0.6825 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.816e-05/0.1818, allocations: 16.55 kB / 0.6825 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.1819, allocations: 23.42 kB / 0.6825 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.1819, allocations: 4 kB / 0.6825 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of Templates: time 0.007052/0.1889, allocations: 2.097 MB / 0.6846 GB, free: 6.738 MB / 0.5137 GB 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]