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.0009963/0.0009964, allocations: 102.3 kB / 16.27 MB, free: 6.355 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.001006/0.001006, allocations: 185.6 kB / 17.2 MB, free: 5.957 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.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7635/0.7635, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 0.4911 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3479, allocations: 77.93 MB / 0.5672 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.003364/0.3513, allocations: 1.658 MB / 0.5688 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.3533, allocations: 1.511 MB / 0.5703 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.263e-05/0.3534, allocations: 5 kB / 0.5703 GB, free: 30.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.3537, allocations: 41.81 kB / 0.5703 GB, free: 30.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.354, allocations: 64.86 kB / 0.5704 GB, free: 30.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.3543, allocations: 112.2 kB / 0.5705 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.3545, allocations: 131.4 kB / 0.5706 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.732e-05/0.3546, allocations: 11.72 kB / 0.5706 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.3547, allocations: 49.7 kB / 0.5707 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.3549, allocations: 56.09 kB / 0.5707 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.355, allocations: 6.188 kB / 0.5707 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.3551, allocations: 65.59 kB / 0.5708 GB, free: 30.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.3552, allocations: 24.88 kB / 0.5708 GB, free: 30.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.698e-05/0.3553, allocations: 43.03 kB / 0.5709 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.3555, allocations: 149 kB / 0.571 GB, free: 30.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3555, allocations: 1.594 kB / 0.571 GB, free: 30.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3555, allocations: 0 / 0.571 GB, free: 30.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.3556, allocations: 1.406 kB / 0.571 GB, free: 30.13 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.000578/0.3561, allocations: 439.3 kB / 0.5714 GB, free: 29.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3562, allocations: 10.56 kB / 0.5714 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.484e-05/0.3562, allocations: 16.19 kB / 0.5715 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.3565, allocations: 218.8 kB / 0.5717 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.3565, allocations: 2.156 kB / 0.5717 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.3565, allocations: 8.281 kB / 0.5717 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.3568, allocations: 101.4 kB / 0.5718 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3568, allocations: 0 / 0.5718 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3568, allocations: 1.984 kB / 0.5718 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.3568, allocations: 6.438 kB / 0.5718 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.357, allocations: 56.17 kB / 0.5718 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.3572, allocations: 204.2 kB / 0.572 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.3575, allocations: 115 kB / 0.5721 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.3576, allocations: 53.41 kB / 0.5722 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.3577, allocations: 1.922 kB / 0.5722 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002628/0.3579, allocations: 110.6 kB / 0.5723 GB, free: 28.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.3579, allocations: 0 / 0.5723 GB, free: 28.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004887/0.3584, allocations: 165.1 kB / 0.5725 GB, free: 28.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.3585, allocations: 135.3 kB / 0.5726 GB, free: 28.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.3587, allocations: 174.5 kB / 0.5728 GB, free: 28.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.3587, allocations: 28.34 kB / 0.5728 GB, free: 28.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.3587, allocations: 107.6 kB / 0.5729 GB, free: 28.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.3588, allocations: 27.33 kB / 0.5729 GB, free: 28.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.3588, allocations: 22.12 kB / 0.5729 GB, free: 28.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.474e-05/0.3589, allocations: 328 kB / 0.5732 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.359, allocations: 30.95 kB / 0.5733 GB, free: 28.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.3591, allocations: 65.27 kB / 0.5733 GB, free: 28.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.3593, allocations: 94.58 kB / 0.5734 GB, free: 28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3594, allocations: 1 kB / 0.5734 GB, free: 28 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002863/0.3596, allocations: 134.8 kB / 0.5736 GB, free: 27.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3597, allocations: 9.984 kB / 0.5736 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3597, allocations: 1.469 kB / 0.5736 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3597, allocations: 2.344 kB / 0.5736 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.3598, allocations: 24.98 kB / 0.5736 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3599, allocations: 1.281 kB / 0.5736 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.975e-05/0.3599, allocations: 13.59 kB / 0.5736 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.046e-06/0.36, allocations: 4.75 kB / 0.5736 GB, free: 27.92 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 8.388e-05/0.36, allocations: 123.8 kB / 0.5737 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.3601, allocations: 11.78 kB / 0.5737 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.13e-05/0.3601, allocations: 22.11 kB / 0.5738 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3602, allocations: 9.172 kB / 0.5738 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.3602, allocations: 1.188 kB / 0.5738 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.3602, allocations: 1.875 kB / 0.5738 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.3603, allocations: 213.6 kB / 0.574 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3603, allocations: 1.094 kB / 0.574 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.587e-05/0.3604, allocations: 14.94 kB / 0.574 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3604, allocations: 1.969 kB / 0.574 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3604, allocations: 7.375 kB / 0.574 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3605, allocations: 0.6094 kB / 0.574 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3605, allocations: 2.812 kB / 0.574 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.3608, allocations: 169.5 kB / 0.5742 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.3608, allocations: 89.67 kB / 0.5743 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.3609, allocations: 3.438 kB / 0.5743 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.3609, allocations: 8.078 kB / 0.5743 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.361, allocations: 11.58 kB / 0.5743 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.361, allocations: 4.484 kB / 0.5743 GB, free: 27.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.888e-05/0.3611, allocations: 138 kB / 0.5744 GB, free: 27.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3611, allocations: 3.938 kB / 0.5744 GB, free: 27.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.3614, allocations: 31.58 kB / 0.5744 GB, free: 27.23 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.0009913/0.3624, allocations: 451.6 kB / 0.5749 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003002/0.3627, allocations: 85.77 kB / 0.575 GB, free: 27.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3627, allocations: 4.562 kB / 0.575 GB, free: 27.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.3628, allocations: 43.06 kB / 0.575 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.3631, allocations: 35.98 kB / 0.575 GB, free: 27.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.3636, allocations: 235.8 kB / 0.5753 GB, free: 26.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.3638, allocations: 0.7092 MB / 0.576 GB, free: 26.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.262e-05/0.3639, allocations: 23.17 kB / 0.576 GB, free: 26.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.3639, allocations: 19.81 kB / 0.576 GB, free: 26.13 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3639, allocations: 4.719 kB / 0.576 GB, free: 26.13 MB / 446.1 MB Notification: Performance of Templates: time 0.005494/0.3694, allocations: 2.042 MB / 0.578 GB, free: 25.94 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)