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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 172.7 kB / 16.76 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.497/0.497, allocations: 86.27 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 223.3 MB / 348.4 MB, free: 5.035 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009144/0.0009143, allocations: 95.19 kB / 420.2 MB, free: 9.68 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004257/0.0004258, allocations: 15.98 kB / 0.4901 GB, free: 8.02 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.4251, allocations: 71.02 MB / 0.5595 GB, free: 43.82 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1831/0.6083, allocations: 102.3 MB / 0.6593 GB, free: 7.27 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006476/0.609, allocations: 85.06 kB / 0.6594 GB, free: 7.188 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02786/0.6369, allocations: 5.088 MB / 0.6644 GB, free: 2.074 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.55e-06/0.637, allocations: 3.938 kB / 0.6644 GB, free: 2.07 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.448e-05/0.637, allocations: 0 / 0.6644 GB, free: 2.07 MB / 474.7 MB 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.001132/0.6382, allocations: 0.5407 MB / 0.6649 GB, free: 1.453 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/0.6382, allocations: 8.031 kB / 0.6649 GB, free: 1.445 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.6384, allocations: 20.75 kB / 0.6649 GB, free: 1.426 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/0.6389, allocations: 221.3 kB / 0.6651 GB, free: 1.172 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.6389, allocations: 8.375 kB / 0.6651 GB, free: 1.164 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.869e-05/0.639, allocations: 24.3 kB / 0.6652 GB, free: 1.141 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.6395, allocations: 118.2 kB / 0.6653 GB, free: 1.02 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.6395, allocations: 3.938 kB / 0.6653 GB, free: 1.016 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.6395, allocations: 8 kB / 0.6653 GB, free: 1.008 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.6396, allocations: 0 / 0.6653 GB, free: 1.008 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.6399, allocations: 71.95 kB / 0.6654 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.641, allocations: 428.4 kB / 0.6658 GB, free: 480 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.6413, allocations: 90.53 kB / 0.6658 GB, free: 380 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.6416, allocations: 84.81 kB / 0.6659 GB, free: 292 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.6416, allocations: 0 / 0.6659 GB, free: 292 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003946/0.642, allocations: 186.9 kB / 0.6661 GB, free: 80 kB / 474.7 MB Notification: Performance of pre-optimization done (n=10): time 2.505e-06/0.642, allocations: 0 / 0.6661 GB, free: 80 kB / 474.7 MB Notification: Performance of matching and sorting (n=10): time 0.00112/0.6432, allocations: 372.7 kB / 0.6665 GB, free: 15.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.6433, allocations: 170.1 kB / 0.6666 GB, free: 15.49 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.6436, allocations: 175.2 kB / 0.6668 GB, free: 15.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.6436, allocations: 33.7 kB / 0.6668 GB, free: 15.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.496e-05/0.6437, allocations: 108.4 kB / 0.6669 GB, free: 15.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.6438, allocations: 27.61 kB / 0.667 GB, free: 15.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/0.6438, allocations: 4.281 kB / 0.667 GB, free: 15.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.644, allocations: 330.8 kB / 0.6673 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.6442, allocations: 55.95 kB / 0.6673 GB, free: 14.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.6445, allocations: 114.8 kB / 0.6674 GB, free: 14.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/0.645, allocations: 312.9 kB / 0.6677 GB, free: 14.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.6451, allocations: 8 kB / 0.6677 GB, free: 14.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0008663/0.6459, allocations: 352.1 kB / 0.6681 GB, free: 13.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.367e-05/0.6461, allocations: 110.8 kB / 0.6682 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.6461, allocations: 8.25 kB / 0.6682 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.6461, allocations: 0 / 0.6682 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.6463, allocations: 23.98 kB / 0.6682 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.6463, allocations: 7.938 kB / 0.6682 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.6465, allocations: 19.83 kB / 0.6682 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.6465, allocations: 8 kB / 0.6683 GB, free: 13.65 MB / 490.7 MB 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.000232/0.6468, allocations: 197.2 kB / 0.6684 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.6468, allocations: 19.81 kB / 0.6685 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.6469, allocations: 17.39 kB / 0.6685 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.6469, allocations: 0 / 0.6685 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.6469, allocations: 4 kB / 0.6685 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.647, allocations: 0 / 0.6685 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009655/0.6479, allocations: 0.5915 MB / 0.6691 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.6479, allocations: 0 / 0.6691 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.136e-05/0.648, allocations: 15.98 kB / 0.6691 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.648, allocations: 4 kB / 0.6691 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.6481, allocations: 8 kB / 0.6691 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.6481, allocations: 0 / 0.6691 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.6481, allocations: 7.938 kB / 0.6691 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007188/0.6488, allocations: 418.6 kB / 0.6695 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.205e-05/0.6489, allocations: 92.91 kB / 0.6696 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.649, allocations: 8 kB / 0.6696 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.6491, allocations: 8 kB / 0.6696 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.6492, allocations: 7.984 kB / 0.6696 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.6492, allocations: 11.94 kB / 0.6696 GB, free: 12.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001391/0.6494, allocations: 140.2 kB / 0.6697 GB, free: 11.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6494, allocations: 3.938 kB / 0.6697 GB, free: 11.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004534/0.6499, allocations: 43.94 kB / 0.6698 GB, free: 11.93 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002733/0.6501, allocations: 114.5 kB / 0.6699 GB, free: 11.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006001/0.6507, allocations: 365.5 kB / 0.6702 GB, free: 11.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6508, allocations: 0 / 0.6702 GB, free: 11.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.6511, allocations: 215.2 kB / 0.6705 GB, free: 11.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.6514, allocations: 16 kB / 0.6705 GB, free: 11.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006053/0.6521, allocations: 321.8 kB / 0.6708 GB, free: 10.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.6523, allocations: 0.7083 MB / 0.6715 GB, free: 10.08 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.561e-05/0.6524, allocations: 20.53 kB / 0.6715 GB, free: 10.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.6525, allocations: 11.44 kB / 0.6715 GB, free: 10.05 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.6525, allocations: 3.938 kB / 0.6715 GB, free: 10.05 MB / 490.7 MB Notification: Performance of Templates: time 0.005484/0.658, allocations: 1.919 MB / 0.6734 GB, free: 8.16 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile (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)