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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001029/0.00103, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4593/0.4593, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.353/1.353, allocations: 221.3 MB / 348.3 MB, free: 432 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008478/0.0008478, allocations: 92.91 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.03e-05, allocations: 4 kB / 0.4896 GB, free: 5.352 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3405, allocations: 72.31 MB / 0.5602 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1191/0.4597, allocations: 103.6 MB / 0.6614 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.4599, allocations: 79.95 kB / 0.6614 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01326/0.4732, allocations: 5.055 MB / 0.6664 GB, free: 11.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4733, allocations: 2.438 kB / 0.6664 GB, free: 11.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.4733, allocations: 0 / 0.6664 GB, free: 11.6 MB / 490.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.00059/0.4739, allocations: 0.5204 MB / 0.6669 GB, free: 11.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4739, allocations: 15.98 kB / 0.6669 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/0.474, allocations: 27.75 kB / 0.6669 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.4743, allocations: 218.9 kB / 0.6671 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.4743, allocations: 8 kB / 0.6671 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.4744, allocations: 16 kB / 0.6672 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.4746, allocations: 105.6 kB / 0.6673 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.4746, allocations: 0 / 0.6673 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.4746, allocations: 4 kB / 0.6673 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4746, allocations: 3.953 kB / 0.6673 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.4748, allocations: 51.98 kB / 0.6673 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/0.4754, allocations: 424.5 kB / 0.6677 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.4755, allocations: 78.55 kB / 0.6678 GB, free: 9.973 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.4756, allocations: 68.84 kB / 0.6679 GB, free: 9.902 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.4757, allocations: 0 / 0.6679 GB, free: 9.902 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.4759, allocations: 180.4 kB / 0.668 GB, free: 9.703 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.4759, allocations: 3.938 kB / 0.668 GB, free: 9.699 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004627/0.4763, allocations: 268.8 kB / 0.6683 GB, free: 9.418 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/0.4764, allocations: 170.2 kB / 0.6685 GB, free: 9.215 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.4766, allocations: 153.8 kB / 0.6686 GB, free: 9.055 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.4766, allocations: 37.7 kB / 0.6686 GB, free: 9.012 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.4767, allocations: 116.2 kB / 0.6688 GB, free: 8.891 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.4767, allocations: 23.7 kB / 0.6688 GB, free: 8.867 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.4768, allocations: 0 / 0.6688 GB, free: 8.867 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.4769, allocations: 326.8 kB / 0.6691 GB, free: 8.539 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.403e-05/0.477, allocations: 43.98 kB / 0.6691 GB, free: 8.496 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.4771, allocations: 98.33 kB / 0.6692 GB, free: 8.379 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.4772, allocations: 162.8 kB / 0.6694 GB, free: 8.195 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4773, allocations: 4 kB / 0.6694 GB, free: 8.191 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003928/0.4777, allocations: 324.1 kB / 0.6697 GB, free: 7.844 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.709e-05/0.4777, allocations: 122.8 kB / 0.6698 GB, free: 7.699 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4777, allocations: 3.953 kB / 0.6698 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.4778, allocations: 4 kB / 0.6698 GB, free: 7.691 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.4779, allocations: 23.92 kB / 0.6698 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4779, allocations: 4.25 kB / 0.6698 GB, free: 7.664 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.478, allocations: 19.89 kB / 0.6699 GB, free: 7.645 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.478, allocations: 12 kB / 0.6699 GB, free: 7.633 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 () * 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.000108/0.4782, allocations: 176.3 kB / 0.67 GB, free: 7.441 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.4782, allocations: 19.91 kB / 0.6701 GB, free: 7.422 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.4782, allocations: 13.53 kB / 0.6701 GB, free: 7.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.4782, allocations: 7.938 kB / 0.6701 GB, free: 7.402 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4782, allocations: 0 / 0.6701 GB, free: 7.402 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.4783, allocations: 11.92 kB / 0.6701 GB, free: 7.391 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005648/0.4788, allocations: 0.5564 MB / 0.6706 GB, free: 6.766 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4788, allocations: 0 / 0.6706 GB, free: 6.766 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.113e-05/0.4789, allocations: 15.92 kB / 0.6707 GB, free: 6.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.4789, allocations: 3.953 kB / 0.6707 GB, free: 6.746 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.479, allocations: 15.98 kB / 0.6707 GB, free: 6.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.479, allocations: 3.938 kB / 0.6707 GB, free: 6.727 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.479, allocations: 0 / 0.6707 GB, free: 6.727 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004342/0.4794, allocations: 378.7 kB / 0.671 GB, free: 6.328 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.4795, allocations: 92.86 kB / 0.6711 GB, free: 6.219 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.4795, allocations: 15.94 kB / 0.6711 GB, free: 6.203 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.4796, allocations: 8 kB / 0.6711 GB, free: 6.195 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.4797, allocations: 7.984 kB / 0.6712 GB, free: 6.188 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.4797, allocations: 8 kB / 0.6712 GB, free: 6.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.934e-05/0.4798, allocations: 132.3 kB / 0.6713 GB, free: 6.051 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4798, allocations: 0 / 0.6713 GB, free: 6.051 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002619/0.4801, allocations: 39.98 kB / 0.6713 GB, free: 6.012 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) * 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.0002155/0.4803, allocations: 120.4 kB / 0.6714 GB, free: 5.891 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003465/0.4807, allocations: 349.6 kB / 0.6718 GB, free: 5.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4807, allocations: 0 / 0.6718 GB, free: 5.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.4808, allocations: 190.8 kB / 0.672 GB, free: 5.289 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.4811, allocations: 12.19 kB / 0.672 GB, free: 5.273 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.4815, allocations: 205.6 kB / 0.6722 GB, free: 5.043 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.4818, allocations: 0.7164 MB / 0.6729 GB, free: 4.301 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.471e-05/0.4819, allocations: 24.47 kB / 0.6729 GB, free: 4.277 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.4819, allocations: 15.44 kB / 0.6729 GB, free: 4.266 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/0.4819, allocations: 4 kB / 0.6729 GB, free: 4.262 MB / 490.7 MB Notification: Performance of Templates: time 0.004315/0.4862, allocations: 1.903 MB / 0.6748 GB, free: 2.402 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)