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.001072/0.001072, allocations: 113.4 kB / 17.04 MB, free: 6.07 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.001031/0.001031, allocations: 195 kB / 17.98 MB, free: 5.148 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.272/1.272, allocations: 222.9 MB / 241.7 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7363/0.7363, allocations: 115.1 MB / 406.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 67.89 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3218, allocations: 76.14 MB / 0.5576 GB, free: 36.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.002677/0.3245, allocations: 1.663 MB / 0.5592 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.3262, allocations: 1.51 MB / 0.5607 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.55e-05/0.3263, allocations: 0 / 0.5607 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.3266, allocations: 37.12 kB / 0.5607 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.3268, allocations: 65.22 kB / 0.5608 GB, free: 34.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.3271, allocations: 116.2 kB / 0.5609 GB, free: 34.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.3273, allocations: 124.9 kB / 0.561 GB, free: 34.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.509e-05/0.3274, allocations: 15.78 kB / 0.561 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.3275, allocations: 65.22 kB / 0.5611 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.3277, allocations: 54.23 kB / 0.5611 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.3278, allocations: 6.562 kB / 0.5611 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.3279, allocations: 60.11 kB / 0.5612 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.379e-05/0.328, allocations: 26.75 kB / 0.5612 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.995e-05/0.3281, allocations: 41.81 kB / 0.5613 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.3284, allocations: 147.8 kB / 0.5614 GB, free: 34.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3284, allocations: 3.938 kB / 0.5614 GB, free: 34.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3284, allocations: 1 kB / 0.5614 GB, free: 34.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3284, allocations: 0 / 0.5614 GB, free: 34.18 MB / 446.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.0005475/0.329, allocations: 435.5 kB / 0.5618 GB, free: 33.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.329, allocations: 10.55 kB / 0.5618 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.3291, allocations: 11.44 kB / 0.5618 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.3293, allocations: 229.1 kB / 0.5621 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3293, allocations: 3.656 kB / 0.5621 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.3294, allocations: 5.406 kB / 0.5621 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.3296, allocations: 103.3 kB / 0.5622 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3296, allocations: 0 / 0.5622 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3296, allocations: 5.812 kB / 0.5622 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3296, allocations: 1.5 kB / 0.5622 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.3298, allocations: 52.03 kB / 0.5622 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.33, allocations: 209.6 kB / 0.5624 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.3302, allocations: 113.4 kB / 0.5625 GB, free: 33.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.3303, allocations: 53.42 kB / 0.5626 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.3304, allocations: 1.828 kB / 0.5626 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.3306, allocations: 116.2 kB / 0.5627 GB, free: 33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.3306, allocations: 0 / 0.5627 GB, free: 33 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004445/0.331, allocations: 161.5 kB / 0.5628 GB, free: 32.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.3311, allocations: 135.5 kB / 0.563 GB, free: 32.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.3312, allocations: 174.4 kB / 0.5631 GB, free: 32.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.3313, allocations: 30.86 kB / 0.5632 GB, free: 32.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.3313, allocations: 100.9 kB / 0.5633 GB, free: 32.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.3313, allocations: 25.59 kB / 0.5633 GB, free: 32.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.3314, allocations: 27.84 kB / 0.5633 GB, free: 32.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.82e-05/0.3314, allocations: 324.5 kB / 0.5636 GB, free: 32.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.3315, allocations: 35.98 kB / 0.5637 GB, free: 32.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.3317, allocations: 61.67 kB / 0.5637 GB, free: 32.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.3319, allocations: 95.23 kB / 0.5638 GB, free: 32.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.3319, allocations: 0 / 0.5638 GB, free: 32.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002816/0.3322, allocations: 136.9 kB / 0.5639 GB, free: 31.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3322, allocations: 5.188 kB / 0.5639 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3322, allocations: 7.812 kB / 0.564 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3323, allocations: 1.312 kB / 0.564 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.3324, allocations: 28.47 kB / 0.564 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3324, allocations: 3.281 kB / 0.564 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.984e-05/0.3325, allocations: 12.31 kB / 0.564 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.3325, allocations: 4.297 kB / 0.564 GB, free: 31.97 MB / 446.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 7.896e-05/0.3326, allocations: 128.4 kB / 0.5641 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.3326, allocations: 11.28 kB / 0.5641 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.3327, allocations: 16.77 kB / 0.5641 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3327, allocations: 4.375 kB / 0.5642 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3327, allocations: 3.938 kB / 0.5642 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3327, allocations: 1.875 kB / 0.5642 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.3329, allocations: 210 kB / 0.5644 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3329, allocations: 7.062 kB / 0.5644 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.818e-05/0.333, allocations: 16.95 kB / 0.5644 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.333, allocations: 2.141 kB / 0.5644 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.333, allocations: 6.562 kB / 0.5644 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.333, allocations: 1.625 kB / 0.5644 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.333, allocations: 2.812 kB / 0.5644 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.3333, allocations: 165.4 kB / 0.5646 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.3333, allocations: 86 kB / 0.5646 GB, free: 31.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.3334, allocations: 7.406 kB / 0.5646 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.3335, allocations: 7.719 kB / 0.5646 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.3335, allocations: 8.812 kB / 0.5647 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.3335, allocations: 7.5 kB / 0.5647 GB, free: 31.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.3336, allocations: 136.3 kB / 0.5648 GB, free: 31.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3337, allocations: 0.625 kB / 0.5648 GB, free: 31.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.3339, allocations: 33.16 kB / 0.5648 GB, free: 31.29 MB / 446.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.0009751/0.3349, allocations: 449.5 kB / 0.5653 GB, free: 31.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000291/0.3352, allocations: 83.11 kB / 0.5653 GB, free: 31.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3352, allocations: 0.5 kB / 0.5653 GB, free: 31.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.3353, allocations: 48.44 kB / 0.5654 GB, free: 31.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.3356, allocations: 40.05 kB / 0.5654 GB, free: 31.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004465/0.3361, allocations: 244.5 kB / 0.5657 GB, free: 30.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.3362, allocations: 0.7069 MB / 0.5663 GB, free: 30.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.095e-05/0.3363, allocations: 25.36 kB / 0.5664 GB, free: 30.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.3364, allocations: 22.7 kB / 0.5664 GB, free: 30.19 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3364, allocations: 1 kB / 0.5664 GB, free: 30.19 MB / 446.1 MB Notification: Performance of Templates: time 0.005088/0.3415, allocations: 2.036 MB / 0.5684 GB, free: 30.01 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)