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.001565/0.001565, allocations: 114.5 kB / 17.09 MB, free: 5.949 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.001748/0.001748, allocations: 198.8 kB / 18.03 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.337/1.337, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7741/0.7741, allocations: 126.1 MB / 417.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 65.44 kB / 0.5737 GB, free: 27.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1331, allocations: 78.7 MB / 0.6506 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002891/0.136, allocations: 1.608 MB / 0.6522 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009763/0.137, allocations: 0.6194 MB / 0.6528 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.957e-05/0.1371, allocations: 4 kB / 0.6528 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.1373, allocations: 19.8 kB / 0.6528 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.1375, allocations: 43.75 kB / 0.6528 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.1379, allocations: 107.8 kB / 0.6529 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.1382, allocations: 199.6 kB / 0.6531 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1383, allocations: 25.11 kB / 0.6531 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.1385, allocations: 95.69 kB / 0.6532 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1386, allocations: 83.72 kB / 0.6533 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.1387, allocations: 12 kB / 0.6533 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.246e-05/0.1387, allocations: 23.98 kB / 0.6534 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.761e-05/0.1388, allocations: 27.92 kB / 0.6534 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.41e-05/0.1389, allocations: 75.64 kB / 0.6535 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.1392, allocations: 175.3 kB / 0.6536 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1392, allocations: 0 / 0.6536 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1392, allocations: 0 / 0.6536 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1392, allocations: 0 / 0.6536 GB, free: 0.9922 MB / 494.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.0006494/0.1399, allocations: 0.5601 MB / 0.6542 GB, free: 368 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1399, allocations: 8.031 kB / 0.6542 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.14, allocations: 20.84 kB / 0.6542 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.1403, allocations: 248.2 kB / 0.6544 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.1403, allocations: 4.375 kB / 0.6544 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.1403, allocations: 16.38 kB / 0.6545 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.1406, allocations: 117.7 kB / 0.6546 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1407, allocations: 0 / 0.6546 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.1407, allocations: 0 / 0.6546 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1407, allocations: 7.938 kB / 0.6546 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.1409, allocations: 63.95 kB / 0.6546 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/0.1415, allocations: 416.7 kB / 0.655 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.1417, allocations: 94.47 kB / 0.6551 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.1419, allocations: 76.81 kB / 0.6552 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1419, allocations: 0 / 0.6552 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.1422, allocations: 182.7 kB / 0.6554 GB, free: 15 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.1422, allocations: 0 / 0.6554 GB, free: 15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0006917/0.1429, allocations: 360.9 kB / 0.6557 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.143, allocations: 166.2 kB / 0.6559 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.1431, allocations: 182.6 kB / 0.656 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.1432, allocations: 33.7 kB / 0.6561 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.1432, allocations: 108.3 kB / 0.6562 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.1433, allocations: 27.8 kB / 0.6562 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-05/0.1433, allocations: 37.7 kB / 0.6562 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1435, allocations: 334.8 kB / 0.6566 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.1436, allocations: 51.89 kB / 0.6566 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.1438, allocations: 103.6 kB / 0.6567 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.1441, allocations: 316.9 kB / 0.657 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1441, allocations: 0 / 0.657 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005354/0.1446, allocations: 340.2 kB / 0.6573 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.635e-05/0.1447, allocations: 124.2 kB / 0.6575 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1448, allocations: 0 / 0.6575 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1448, allocations: 4.25 kB / 0.6575 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1449, allocations: 23.92 kB / 0.6575 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.1449, allocations: 4 kB / 0.6575 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.145, allocations: 23.88 kB / 0.6575 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.1451, allocations: 11.94 kB / 0.6575 GB, free: 12.56 MB / 0.4981 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.0001671/0.1452, allocations: 202.4 kB / 0.6577 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.1453, allocations: 15.91 kB / 0.6577 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.357e-05/0.1453, allocations: 21.39 kB / 0.6577 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1453, allocations: 4 kB / 0.6578 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1453, allocations: 0 / 0.6578 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.1454, allocations: 89.02 kB / 0.6578 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.1454, allocations: 4 kB / 0.6578 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.05e-05/0.1455, allocations: 15.92 kB / 0.6579 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.1456, allocations: 4 kB / 0.6579 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006242/0.1462, allocations: 495.2 kB / 0.6583 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005515/0.1468, allocations: 482 kB / 0.6588 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001628/0.147, allocations: 87.89 kB / 0.6589 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.719e-05/0.1471, allocations: 132.3 kB / 0.659 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of Backend: time 3.9e-07/0.1471, allocations: 0 / 0.659 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007137/0.1478, allocations: 404.9 kB / 0.6594 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0006078/0.1484, allocations: 0.7845 MB / 0.6602 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of Templates: time 0.005148/0.1536, allocations: 2.216 MB / 0.6623 GB, free: 7.434 MB / 0.4981 GB 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)