Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.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.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader") translateModel(IBPSA.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.001161, allocations: 104.6 kB / 16.4 MB, free: 6.344 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.001219/0.001219, allocations: 191.7 kB / 17.33 MB, free: 5.816 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7733/0.7733, allocations: 122.9 MB / 414.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 65.78 kB / 0.5684 GB, free: 28.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1388, allocations: 77.94 MB / 0.6446 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.004/0.1428, allocations: 1.657 MB / 0.6462 GB, free: 7.359 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.1454, allocations: 1.508 MB / 0.6476 GB, free: 5.844 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.1455, allocations: 7.938 kB / 0.6477 GB, free: 5.836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.1459, allocations: 39.77 kB / 0.6477 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003362/0.1462, allocations: 63.62 kB / 0.6478 GB, free: 5.734 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.1467, allocations: 121.3 kB / 0.6479 GB, free: 5.617 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.1469, allocations: 127.6 kB / 0.648 GB, free: 5.492 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.788e-05/0.147, allocations: 5.125 kB / 0.648 GB, free: 5.488 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.1472, allocations: 59.7 kB / 0.648 GB, free: 5.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.1474, allocations: 53.48 kB / 0.6481 GB, free: 5.379 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.1474, allocations: 8 kB / 0.6481 GB, free: 5.371 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.1476, allocations: 67.95 kB / 0.6482 GB, free: 5.305 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.291e-05/0.1476, allocations: 19.92 kB / 0.6482 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.564e-05/0.1477, allocations: 47.62 kB / 0.6482 GB, free: 5.238 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.1481, allocations: 155.3 kB / 0.6484 GB, free: 5.086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1481, allocations: 0 / 0.6484 GB, free: 5.086 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1481, allocations: 0 / 0.6484 GB, free: 5.086 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1481, allocations: 0 / 0.6484 GB, free: 5.086 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006986/0.1488, allocations: 442.5 kB / 0.6488 GB, free: 4.605 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1489, allocations: 12.62 kB / 0.6488 GB, free: 4.594 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.298e-05/0.1489, allocations: 12.89 kB / 0.6488 GB, free: 4.582 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.1493, allocations: 224 kB / 0.649 GB, free: 4.324 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.1493, allocations: 8.312 kB / 0.6491 GB, free: 4.316 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.1494, allocations: 8.125 kB / 0.6491 GB, free: 4.309 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.1496, allocations: 93.08 kB / 0.6491 GB, free: 4.199 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1496, allocations: 4 kB / 0.6492 GB, free: 4.195 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.1497, allocations: 11.98 kB / 0.6492 GB, free: 4.184 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1497, allocations: 0 / 0.6492 GB, free: 4.184 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.1498, allocations: 47.91 kB / 0.6492 GB, free: 4.137 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002522/0.1501, allocations: 203.5 kB / 0.6494 GB, free: 3.883 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.1504, allocations: 119.8 kB / 0.6495 GB, free: 3.738 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.1505, allocations: 46.56 kB / 0.6496 GB, free: 3.684 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.1506, allocations: 4 kB / 0.6496 GB, free: 3.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.1508, allocations: 113.9 kB / 0.6497 GB, free: 3.547 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.1508, allocations: 0 / 0.6497 GB, free: 3.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005182/0.1513, allocations: 169.6 kB / 0.6498 GB, free: 3.375 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/0.1514, allocations: 132.5 kB / 0.65 GB, free: 3.215 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.1516, allocations: 170.4 kB / 0.6501 GB, free: 3.039 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1516, allocations: 25.7 kB / 0.6502 GB, free: 3.008 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/0.1517, allocations: 108.1 kB / 0.6503 GB, free: 2.898 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.1517, allocations: 31.77 kB / 0.6503 GB, free: 2.867 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.1518, allocations: 21.72 kB / 0.6503 GB, free: 2.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1519, allocations: 326.9 kB / 0.6506 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.152, allocations: 35.97 kB / 0.6507 GB, free: 2.477 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.1522, allocations: 64.27 kB / 0.6507 GB, free: 2.398 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.1524, allocations: 95.38 kB / 0.6508 GB, free: 2.293 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1524, allocations: 0 / 0.6508 GB, free: 2.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000305/0.1527, allocations: 141.7 kB / 0.6509 GB, free: 2.148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1527, allocations: 4 kB / 0.6509 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1527, allocations: 192 / 0.6509 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.1528, allocations: 8.094 kB / 0.651 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1529, allocations: 31.86 kB / 0.651 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1529, allocations: 0 / 0.651 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.51e-05/0.153, allocations: 4 kB / 0.651 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.153, allocations: 7.984 kB / 0.651 GB, free: 2.094 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001078/0.1531, allocations: 125.8 kB / 0.6511 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.1532, allocations: 19.84 kB / 0.6511 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.988e-05/0.1532, allocations: 17.39 kB / 0.6511 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1532, allocations: 8 kB / 0.6512 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1532, allocations: 0 / 0.6512 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1533, allocations: 0 / 0.6512 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.1534, allocations: 205.5 kB / 0.6514 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1535, allocations: 0 / 0.6514 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.521e-05/0.1535, allocations: 15.98 kB / 0.6514 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1535, allocations: 0 / 0.6514 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1536, allocations: 4 kB / 0.6514 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1536, allocations: 0 / 0.6514 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1536, allocations: 0 / 0.6514 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000331/0.1539, allocations: 174.6 kB / 0.6515 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.154, allocations: 92.95 kB / 0.6516 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.154, allocations: 7.984 kB / 0.6516 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.1541, allocations: 8 kB / 0.6516 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.1542, allocations: 11.98 kB / 0.6517 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.1542, allocations: 4 kB / 0.6517 GB, free: 1.305 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.1543, allocations: 136.2 kB / 0.6518 GB, free: 1.172 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1543, allocations: 0 / 0.6518 GB, free: 1.172 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1546, allocations: 28 kB / 0.6518 GB, free: 1.145 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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: 0 * Record equations: 0 * When equations: 2 * 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.001071/0.1557, allocations: 460.1 kB / 0.6523 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003041/0.156, allocations: 79.89 kB / 0.6523 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.156, allocations: 3.938 kB / 0.6523 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.1561, allocations: 48.16 kB / 0.6524 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.1564, allocations: 42.09 kB / 0.6524 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.1569, allocations: 248.6 kB / 0.6527 GB, free: 432 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.1572, allocations: 0.7041 MB / 0.6533 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.1574, allocations: 20.88 kB / 0.6534 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/0.1574, allocations: 23.42 kB / 0.6534 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1574, allocations: 0 / 0.6534 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of Templates: time 0.005323/0.1627, allocations: 2.048 MB / 0.6554 GB, free: 13.62 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)