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) 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/Modelica 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) 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001379, allocations: 119.2 kB / 17.09 MB, free: 5.938 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.001441/0.001441, allocations: 196.6 kB / 18.02 MB, free: 5.023 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.332/1.332, allocations: 222.9 MB / 241.7 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7386/0.7386, allocations: 115.3 MB / 407.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 66.16 kB / 0.5583 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1374, allocations: 76.19 MB / 0.6327 GB, free: 4.543 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.003123/0.1406, allocations: 1.587 MB / 0.6343 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.1416, allocations: 0.6195 MB / 0.6349 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.277e-05/0.1417, allocations: 0 / 0.6349 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.1419, allocations: 31.78 kB / 0.6349 GB, free: 2.285 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.1422, allocations: 35.77 kB / 0.635 GB, free: 2.25 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.1427, allocations: 111.8 kB / 0.6351 GB, free: 2.141 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000291/0.143, allocations: 199.6 kB / 0.6352 GB, free: 1.945 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.1431, allocations: 29.09 kB / 0.6353 GB, free: 1.918 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.1433, allocations: 91.69 kB / 0.6354 GB, free: 1.828 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1435, allocations: 87.72 kB / 0.6354 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.1435, allocations: 16 kB / 0.6355 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-05/0.1436, allocations: 27.98 kB / 0.6355 GB, free: 1.699 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.195e-05/0.1437, allocations: 27.91 kB / 0.6355 GB, free: 1.672 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.1438, allocations: 75.66 kB / 0.6356 GB, free: 1.598 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.1441, allocations: 171.4 kB / 0.6358 GB, free: 1.43 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1441, allocations: 0 / 0.6358 GB, free: 1.43 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1441, allocations: 0 / 0.6358 GB, free: 1.43 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.1442, allocations: 0 / 0.6358 GB, free: 1.43 MB / 478.1 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.0007613/0.1449, allocations: 0.5525 MB / 0.6363 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.145, allocations: 12.03 kB / 0.6363 GB, free: 0.793 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/0.145, allocations: 16.75 kB / 0.6363 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.1454, allocations: 240.6 kB / 0.6365 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.1454, allocations: 8.375 kB / 0.6366 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.1455, allocations: 16.38 kB / 0.6366 GB, free: 492 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.1458, allocations: 113.7 kB / 0.6367 GB, free: 372 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1458, allocations: 0 / 0.6367 GB, free: 372 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.1458, allocations: 12 kB / 0.6367 GB, free: 360 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1458, allocations: 0 / 0.6367 GB, free: 360 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.146, allocations: 75.81 kB / 0.6368 GB, free: 284 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006548/0.1467, allocations: 420.6 kB / 0.6372 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.1469, allocations: 90.56 kB / 0.6373 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.1471, allocations: 76.81 kB / 0.6373 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.1471, allocations: 0 / 0.6373 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.1474, allocations: 174.7 kB / 0.6375 GB, free: 15.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.1474, allocations: 0 / 0.6375 GB, free: 15.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007288/0.1481, allocations: 356.8 kB / 0.6378 GB, free: 15.08 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.1482, allocations: 170.2 kB / 0.638 GB, free: 14.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.1484, allocations: 174.7 kB / 0.6382 GB, free: 14.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.1484, allocations: 29.7 kB / 0.6382 GB, free: 14.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.1485, allocations: 112.3 kB / 0.6383 GB, free: 14.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.1485, allocations: 23.66 kB / 0.6383 GB, free: 14.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.062e-05/0.1486, allocations: 41.7 kB / 0.6384 GB, free: 14.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1487, allocations: 334.8 kB / 0.6387 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.1489, allocations: 51.95 kB / 0.6387 GB, free: 14.08 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.1491, allocations: 98.77 kB / 0.6388 GB, free: 13.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.1494, allocations: 313 kB / 0.6391 GB, free: 13.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1494, allocations: 4 kB / 0.6391 GB, free: 13.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005269/0.1499, allocations: 344 kB / 0.6395 GB, free: 13.22 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.029e-05/0.15, allocations: 118.8 kB / 0.6396 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.15, allocations: 4 kB / 0.6396 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1501, allocations: 4 kB / 0.6396 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1502, allocations: 24.17 kB / 0.6396 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1502, allocations: 0 / 0.6396 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.1503, allocations: 16 kB / 0.6396 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.1503, allocations: 8 kB / 0.6396 GB, free: 13.02 MB / 494.1 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 (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.0001538/0.1505, allocations: 200.5 kB / 0.6398 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.1505, allocations: 19.81 kB / 0.6398 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.984e-05/0.1506, allocations: 13.41 kB / 0.6398 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1506, allocations: 11.86 kB / 0.6399 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1506, allocations: 288 / 0.6399 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1506, allocations: 4 kB / 0.6399 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007153/0.1513, allocations: 0.5914 MB / 0.6404 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1514, allocations: 3.938 kB / 0.6404 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.464e-05/0.1514, allocations: 11.98 kB / 0.6405 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1514, allocations: 0 / 0.6405 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.1515, allocations: 12 kB / 0.6405 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1515, allocations: 0 / 0.6405 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.1515, allocations: 7.938 kB / 0.6405 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005403/0.152, allocations: 398.6 kB / 0.6408 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.1521, allocations: 92.91 kB / 0.6409 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.1521, allocations: 8 kB / 0.6409 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.1523, allocations: 4 kB / 0.6409 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.1523, allocations: 15.92 kB / 0.641 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.1523, allocations: 8 kB / 0.641 GB, free: 11.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1525, allocations: 131.2 kB / 0.6411 GB, free: 11.37 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1525, allocations: 0 / 0.6411 GB, free: 11.37 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.1528, allocations: 36 kB / 0.6411 GB, free: 11.33 MB / 494.1 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 (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.0002337/0.153, allocations: 127.8 kB / 0.6413 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005034/0.1535, allocations: 365.4 kB / 0.6416 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1535, allocations: 0 / 0.6416 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.1538, allocations: 206.8 kB / 0.6418 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.1541, allocations: 17.5 kB / 0.6418 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000631/0.1547, allocations: 326.2 kB / 0.6421 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.155, allocations: 0.7079 MB / 0.6428 GB, free: 9.469 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.1551, allocations: 19.42 kB / 0.6428 GB, free: 9.449 MB / 494.1 MB Notification: Performance of SimCode: time 1.814e-06/0.1551, allocations: 0 / 0.6428 GB, free: 9.449 MB / 494.1 MB Notification: Performance of Templates: time 0.004297/0.1594, allocations: 2.17 MB / 0.645 GB, free: 7.289 MB / 494.1 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)