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.001061/0.001061, allocations: 105.1 kB / 16.4 MB, free: 6.449 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.001152/0.001152, allocations: 196 kB / 17.34 MB, free: 5.719 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7166/0.7166, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.34 kB / 0.5577 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1506, allocations: 76.18 MB / 0.6321 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002685/0.1533, allocations: 1.594 MB / 0.6336 GB, free: 2.816 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009548/0.1543, allocations: 0.6156 MB / 0.6342 GB, free: 2.195 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.386e-05/0.1544, allocations: 0 / 0.6342 GB, free: 2.195 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.1545, allocations: 27.8 kB / 0.6343 GB, free: 2.168 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.1548, allocations: 43.77 kB / 0.6343 GB, free: 2.125 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.1551, allocations: 107.8 kB / 0.6344 GB, free: 2.02 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.1554, allocations: 195.6 kB / 0.6346 GB, free: 1.828 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1555, allocations: 29.05 kB / 0.6346 GB, free: 1.801 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.1556, allocations: 87.75 kB / 0.6347 GB, free: 1.715 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.1558, allocations: 87.66 kB / 0.6348 GB, free: 1.629 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.1558, allocations: 16 kB / 0.6348 GB, free: 1.613 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.788e-05/0.1559, allocations: 27.98 kB / 0.6348 GB, free: 1.586 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.156, allocations: 27.92 kB / 0.6348 GB, free: 1.559 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.365e-05/0.1561, allocations: 79.64 kB / 0.6349 GB, free: 1.48 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.1564, allocations: 167.5 kB / 0.6351 GB, free: 1.316 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1564, allocations: 0 / 0.6351 GB, free: 1.316 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1564, allocations: 0 / 0.6351 GB, free: 1.316 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1564, allocations: 0 / 0.6351 GB, free: 1.316 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.0006577/0.1571, allocations: 0.5524 MB / 0.6356 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1571, allocations: 12.03 kB / 0.6356 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.341e-05/0.1572, allocations: 24.75 kB / 0.6357 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.1575, allocations: 236.6 kB / 0.6359 GB, free: 396 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1575, allocations: 12.38 kB / 0.6359 GB, free: 384 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.1576, allocations: 12.38 kB / 0.6359 GB, free: 372 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.1578, allocations: 117.7 kB / 0.636 GB, free: 248 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1579, allocations: 0 / 0.636 GB, free: 248 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.1579, allocations: 7.938 kB / 0.636 GB, free: 240 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1579, allocations: 0 / 0.636 GB, free: 240 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.1581, allocations: 79.88 kB / 0.6361 GB, free: 160 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005962/0.1587, allocations: 412.6 kB / 0.6365 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.1589, allocations: 90.56 kB / 0.6366 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.159, allocations: 72.81 kB / 0.6367 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1591, allocations: 8 kB / 0.6367 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002773/0.1594, allocations: 178.9 kB / 0.6368 GB, free: 15.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.1594, allocations: 0 / 0.6368 GB, free: 15.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007235/0.1601, allocations: 356.6 kB / 0.6372 GB, free: 14.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.802e-05/0.1602, allocations: 162.2 kB / 0.6373 GB, free: 14.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.1604, allocations: 182.7 kB / 0.6375 GB, free: 14.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.1604, allocations: 25.7 kB / 0.6375 GB, free: 14.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.1605, allocations: 112.3 kB / 0.6376 GB, free: 14.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.1606, allocations: 27.64 kB / 0.6377 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.259e-05/0.1606, allocations: 41.7 kB / 0.6377 GB, free: 14.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1608, allocations: 334.8 kB / 0.638 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.1609, allocations: 47.97 kB / 0.6381 GB, free: 13.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.1611, allocations: 113.4 kB / 0.6382 GB, free: 13.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.1614, allocations: 308.9 kB / 0.6385 GB, free: 13.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1614, allocations: 0 / 0.6385 GB, free: 13.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005132/0.1619, allocations: 348.1 kB / 0.6388 GB, free: 13.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.647e-05/0.162, allocations: 114.8 kB / 0.6389 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.162, allocations: 4 kB / 0.6389 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1621, allocations: 4 kB / 0.6389 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.1622, allocations: 23.92 kB / 0.6389 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1622, allocations: 4 kB / 0.6389 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.534e-05/0.1623, allocations: 11.98 kB / 0.639 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.1624, allocations: 12.25 kB / 0.639 GB, free: 12.9 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.0001797/0.1625, allocations: 202.8 kB / 0.6392 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.1626, allocations: 19.81 kB / 0.6392 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.1626, allocations: 13.41 kB / 0.6392 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1626, allocations: 0 / 0.6392 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1626, allocations: 0 / 0.6392 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1626, allocations: 7.922 kB / 0.6392 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007331/0.1634, allocations: 0.5875 MB / 0.6398 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1634, allocations: 0 / 0.6398 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.241e-05/0.1635, allocations: 11.98 kB / 0.6398 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1635, allocations: 0 / 0.6398 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.1635, allocations: 8 kB / 0.6398 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1635, allocations: 8 kB / 0.6398 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1635, allocations: 3.938 kB / 0.6398 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.164, allocations: 414.8 kB / 0.6402 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.1641, allocations: 88.92 kB / 0.6403 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.1641, allocations: 4 kB / 0.6403 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1642, allocations: 4 kB / 0.6403 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.1643, allocations: 15.92 kB / 0.6403 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.1643, allocations: 8 kB / 0.6403 GB, free: 11.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.566e-05/0.1644, allocations: 131.2 kB / 0.6404 GB, free: 11.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1644, allocations: 4 kB / 0.6404 GB, free: 11.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.1647, allocations: 28 kB / 0.6405 GB, free: 11.21 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.0002113/0.1649, allocations: 137 kB / 0.6406 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006166/0.1655, allocations: 361.8 kB / 0.6409 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1656, allocations: 4.062 kB / 0.6409 GB, free: 10.67 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.1658, allocations: 206.8 kB / 0.6411 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.1661, allocations: 15.94 kB / 0.6412 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006782/0.1668, allocations: 288 kB / 0.6414 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.1672, allocations: 0.7118 MB / 0.6421 GB, free: 9.383 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.101e-05/0.1673, allocations: 20.53 kB / 0.6422 GB, free: 9.363 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.1673, allocations: 11.44 kB / 0.6422 GB, free: 9.352 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1673, allocations: 0 / 0.6422 GB, free: 9.352 MB / 494.1 MB Notification: Performance of Templates: time 0.004863/0.1722, allocations: 2.076 MB / 0.6442 GB, free: 7.301 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)