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 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 114.6 kB / 19.69 MB, free: 2.199 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002132/0.002132, allocations: 191 kB / 22.98 MB, free: 5.062 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 251.8 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.977/0.977, allocations: 149.6 MB / 456.6 MB, free: 1.176 MB / 350.1 MB
"
[Timeout remaining time 179]
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=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter")
translateModel(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 63.89 kB / 0.6328 GB, free: 8.953 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2238, allocations: 87.88 MB / 0.7187 GB, free: 0.9883 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.003284/0.227, allocations: 1.629 MB / 0.7202 GB, free: 15.35 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.001101/0.2281, allocations: 0.6195 MB / 0.7208 GB, free: 14.73 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.895e-05/0.2282, allocations: 4 kB / 0.7209 GB, free: 14.72 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.2284, allocations: 11.81 kB / 0.7209 GB, free: 14.71 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.2286, allocations: 47.75 kB / 0.7209 GB, free: 14.66 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.2291, allocations: 115.7 kB / 0.721 GB, free: 14.55 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0002829/0.2293, allocations: 187.6 kB / 0.7212 GB, free: 14.37 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.2295, allocations: 21 kB / 0.7212 GB, free: 14.35 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.2296, allocations: 87.8 kB / 0.7213 GB, free: 14.26 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.2298, allocations: 87.72 kB / 0.7214 GB, free: 14.18 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 4.304e-05/0.2298, allocations: 16 kB / 0.7214 GB, free: 14.16 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.885e-05/0.2299, allocations: 24 kB / 0.7214 GB, free: 14.14 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 9.473e-05/0.23, allocations: 31.84 kB / 0.7215 GB, free: 14.11 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.2301, allocations: 75.72 kB / 0.7215 GB, free: 14.03 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.2304, allocations: 171.3 kB / 0.7217 GB, free: 13.86 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2304, allocations: 0 / 0.7217 GB, free: 13.86 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.824e-06/0.2304, allocations: 4 kB / 0.7217 GB, free: 13.86 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 6.272e-06/0.2304, allocations: 0 / 0.7217 GB, free: 13.86 MB / 0.545 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.0007774/0.2312, allocations: 0.4886 MB / 0.7222 GB, free: 13.32 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.2312, allocations: 12.62 kB / 0.7222 GB, free: 13.3 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.921e-05/0.2313, allocations: 16.88 kB / 0.7222 GB, free: 13.29 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.2316, allocations: 174.5 kB / 0.7224 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.2316, allocations: 12.38 kB / 0.7224 GB, free: 13.08 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.2317, allocations: 12.38 kB / 0.7224 GB, free: 13.07 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.232, allocations: 117.7 kB / 0.7225 GB, free: 12.95 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.232, allocations: 0 / 0.7225 GB, free: 12.95 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.232, allocations: 12 kB / 0.7225 GB, free: 12.94 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.232, allocations: 3.938 kB / 0.7225 GB, free: 12.93 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.2322, allocations: 71.94 kB / 0.7226 GB, free: 12.86 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007169/0.2329, allocations: 391.5 kB / 0.723 GB, free: 12.44 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.2332, allocations: 90.53 kB / 0.723 GB, free: 12.34 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.2333, allocations: 64.81 kB / 0.7231 GB, free: 12.27 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.2334, allocations: 4 kB / 0.7231 GB, free: 12.27 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000288/0.2336, allocations: 178.7 kB / 0.7233 GB, free: 12.07 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.2336, allocations: 4 kB / 0.7233 GB, free: 12.07 MB / 0.545 GB
Notification: Performance of matching and sorting (n=10): time 0.0008031/0.2344, allocations: 364.9 kB / 0.7236 GB, free: 11.69 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.2346, allocations: 166.2 kB / 0.7238 GB, free: 11.49 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.2347, allocations: 174.8 kB / 0.724 GB, free: 11.31 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.2348, allocations: 33.7 kB / 0.724 GB, free: 11.27 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.2349, allocations: 112.3 kB / 0.7241 GB, free: 11.15 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.2349, allocations: 23.8 kB / 0.7241 GB, free: 11.13 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.876e-05/0.235, allocations: 37.7 kB / 0.7242 GB, free: 11.09 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001558/0.2351, allocations: 330.8 kB / 0.7245 GB, free: 10.75 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.2353, allocations: 51.95 kB / 0.7245 GB, free: 10.7 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.2355, allocations: 105.5 kB / 0.7246 GB, free: 10.58 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.2359, allocations: 312.9 kB / 0.7249 GB, free: 10.21 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.2359, allocations: 4 kB / 0.7249 GB, free: 10.21 MB / 0.545 GB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005852/0.2364, allocations: 348.1 kB / 0.7253 GB, free: 9.836 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.2365, allocations: 122.8 kB / 0.7254 GB, free: 9.691 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2365, allocations: 0 / 0.7254 GB, free: 9.691 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2366, allocations: 4 kB / 0.7254 GB, free: 9.688 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.2367, allocations: 20.23 kB / 0.7254 GB, free: 9.668 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.2367, allocations: 4 kB / 0.7254 GB, free: 9.664 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.2368, allocations: 15.95 kB / 0.7254 GB, free: 9.648 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.2368, allocations: 8 kB / 0.7254 GB, free: 9.641 MB / 0.545 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.0001996/0.237, allocations: 210.9 kB / 0.7256 GB, free: 9.414 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.2371, allocations: 15.91 kB / 0.7256 GB, free: 9.398 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.2371, allocations: 13.69 kB / 0.7257 GB, free: 9.375 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.2371, allocations: 0 / 0.7257 GB, free: 9.375 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2371, allocations: 0 / 0.7257 GB, free: 9.375 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2371, allocations: 7.938 kB / 0.7257 GB, free: 9.367 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008029/0.2379, allocations: 0.5671 MB / 0.7262 GB, free: 8.738 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2379, allocations: 0 / 0.7262 GB, free: 8.738 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.779e-05/0.238, allocations: 11.98 kB / 0.7262 GB, free: 8.727 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.238, allocations: 0 / 0.7262 GB, free: 8.727 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.238, allocations: 12 kB / 0.7262 GB, free: 8.715 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.238, allocations: 0 / 0.7262 GB, free: 8.715 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.238, allocations: 3.938 kB / 0.7262 GB, free: 8.711 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00062/0.2386, allocations: 414.7 kB / 0.7266 GB, free: 8.277 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.2387, allocations: 11.91 kB / 0.7266 GB, free: 8.266 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.2387, allocations: 4 kB / 0.7267 GB, free: 8.262 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.2388, allocations: 12 kB / 0.7267 GB, free: 8.25 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.2389, allocations: 11.92 kB / 0.7267 GB, free: 8.238 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.2389, allocations: 11.98 kB / 0.7267 GB, free: 8.227 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0001196/0.239, allocations: 132.3 kB / 0.7268 GB, free: 8.098 MB / 0.545 GB
Notification: Performance of sort global known variables: time 9e-08/0.239, allocations: 0 / 0.7268 GB, free: 8.098 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0003048/0.2393, allocations: 32 kB / 0.7268 GB, free: 8.066 MB / 0.545 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.0002764/0.2396, allocations: 128.8 kB / 0.727 GB, free: 7.934 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0005733/0.2402, allocations: 357.5 kB / 0.7273 GB, free: 7.535 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2402, allocations: 0 / 0.7273 GB, free: 7.535 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002515/0.2404, allocations: 182.7 kB / 0.7275 GB, free: 7.332 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.2408, allocations: 26.02 kB / 0.7275 GB, free: 7.309 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006675/0.2414, allocations: 296.4 kB / 0.7278 GB, free: 6.996 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.2418, allocations: 0.7118 MB / 0.7285 GB, free: 6.258 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 6.639e-05/0.2418, allocations: 16.48 kB / 0.7285 GB, free: 6.242 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.2419, allocations: 19.42 kB / 0.7285 GB, free: 6.223 MB / 0.545 GB
Notification: Performance of SimCode: time 2.8e-07/0.2419, allocations: 0 / 0.7285 GB, free: 6.223 MB / 0.545 GB
Notification: Performance of Templates: time 0.006474/0.2484, allocations: 2.144 MB / 0.7306 GB, free: 4.113 MB / 0.545 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]
[Calling sys.exit(0), Time elapsed: 6.022479473613203]
Failed to read output from testmodel.py, exit status != 0:
0.2576083783060312 0.271889468 0.038417782000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f52ff7317b0>