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.001207/0.001207, allocations: 106.8 kB / 16.64 MB, free: 6.371 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.001299/0.001299, allocations: 191.6 kB / 17.56 MB, free: 5.812 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.351/1.351, allocations: 222.9 MB / 241.2 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.77/0.77, allocations: 122.9 MB / 414.3 MB, free: 60 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.89 kB / 0.4912 GB, free: 7.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3807, allocations: 77.91 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.002942/0.3837, allocations: 1.73 MB / 0.569 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.3855, allocations: 1.477 MB / 0.5705 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.006e-05/0.3856, allocations: 1.125 kB / 0.5705 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.3859, allocations: 36.02 kB / 0.5705 GB, free: 30.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.3861, allocations: 50.98 kB / 0.5705 GB, free: 30.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.3864, allocations: 104.3 kB / 0.5706 GB, free: 30.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.3866, allocations: 124.7 kB / 0.5708 GB, free: 30.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.3866, allocations: 8.438 kB / 0.5708 GB, free: 30.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.3868, allocations: 66.08 kB / 0.5708 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.387, allocations: 48.8 kB / 0.5709 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.387, allocations: 5.531 kB / 0.5709 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.3872, allocations: 68.3 kB / 0.5709 GB, free: 30.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.922e-05/0.3872, allocations: 22.77 kB / 0.571 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.49e-05/0.3873, allocations: 48.02 kB / 0.571 GB, free: 30.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.3875, allocations: 109.2 kB / 0.5711 GB, free: 30.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3875, allocations: 2.062 kB / 0.5711 GB, free: 30.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.3875, allocations: 3.938 kB / 0.5711 GB, free: 30.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.3875, allocations: 0 / 0.5711 GB, free: 30.23 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.0005287/0.388, allocations: 440.7 kB / 0.5715 GB, free: 29.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3881, allocations: 10.75 kB / 0.5716 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.3881, allocations: 15.5 kB / 0.5716 GB, free: 29.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.3883, allocations: 210.6 kB / 0.5718 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3884, allocations: 5.703 kB / 0.5718 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.3884, allocations: 9.25 kB / 0.5718 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.3886, allocations: 105.4 kB / 0.5719 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3887, allocations: 2.125 kB / 0.5719 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.3887, allocations: 7.984 kB / 0.5719 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3887, allocations: 1.281 kB / 0.5719 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.3889, allocations: 53.56 kB / 0.572 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.3891, allocations: 203 kB / 0.5721 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.3894, allocations: 115.3 kB / 0.5723 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.3895, allocations: 52.55 kB / 0.5723 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.3895, allocations: 3.047 kB / 0.5723 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002796/0.3898, allocations: 115.1 kB / 0.5724 GB, free: 29.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.3898, allocations: 0.875 kB / 0.5724 GB, free: 29.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004721/0.3903, allocations: 160.1 kB / 0.5726 GB, free: 28.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.3904, allocations: 133.5 kB / 0.5727 GB, free: 28.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.3905, allocations: 181.5 kB / 0.5729 GB, free: 28.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.3905, allocations: 27.62 kB / 0.5729 GB, free: 28.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.3906, allocations: 104.5 kB / 0.573 GB, free: 28.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.3906, allocations: 26.12 kB / 0.573 GB, free: 28.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.3907, allocations: 27.39 kB / 0.573 GB, free: 28.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.187e-05/0.3907, allocations: 327.9 kB / 0.5734 GB, free: 28.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.3909, allocations: 36.19 kB / 0.5734 GB, free: 28.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.391, allocations: 63.48 kB / 0.5735 GB, free: 28.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.3912, allocations: 95.38 kB / 0.5735 GB, free: 28.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3912, allocations: 0 / 0.5735 GB, free: 28.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002917/0.3915, allocations: 134.8 kB / 0.5737 GB, free: 28.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3915, allocations: 6.766 kB / 0.5737 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.3916, allocations: 0 / 0.5737 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3916, allocations: 4.844 kB / 0.5737 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.3917, allocations: 28.25 kB / 0.5737 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3917, allocations: 1.25 kB / 0.5737 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.012e-05/0.3918, allocations: 12.92 kB / 0.5737 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.3918, allocations: 6.797 kB / 0.5737 GB, free: 28.01 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.297e-05/0.3919, allocations: 129.3 kB / 0.5739 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.3919, allocations: 12.61 kB / 0.5739 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.392, allocations: 16.27 kB / 0.5739 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.392, allocations: 2.406 kB / 0.5739 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.392, allocations: 1.375 kB / 0.5739 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.392, allocations: 2.031 kB / 0.5739 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.3922, allocations: 213.4 kB / 0.5741 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3922, allocations: 1.891 kB / 0.5741 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.3923, allocations: 14.48 kB / 0.5741 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3923, allocations: 1.969 kB / 0.5741 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.3923, allocations: 2.594 kB / 0.5741 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3923, allocations: 6.031 kB / 0.5741 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3923, allocations: 1.875 kB / 0.5741 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.3926, allocations: 164.7 kB / 0.5743 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.3927, allocations: 89.64 kB / 0.5744 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.3927, allocations: 3.953 kB / 0.5744 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.771e-05/0.3928, allocations: 11.73 kB / 0.5744 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.3929, allocations: 8.422 kB / 0.5744 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.3929, allocations: 5.125 kB / 0.5744 GB, free: 27.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.393, allocations: 134.8 kB / 0.5745 GB, free: 27.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.393, allocations: 3.938 kB / 0.5745 GB, free: 27.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.3933, allocations: 37.72 kB / 0.5746 GB, free: 27.33 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.001014/0.3943, allocations: 446.6 kB / 0.575 GB, free: 27.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003081/0.3946, allocations: 86.78 kB / 0.5751 GB, free: 27.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3946, allocations: 3.125 kB / 0.5751 GB, free: 27.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.3947, allocations: 42.78 kB / 0.5751 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.395, allocations: 35.66 kB / 0.5751 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.3955, allocations: 295.4 kB / 0.5754 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.3957, allocations: 0.7034 MB / 0.5761 GB, free: 26.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.3957, allocations: 21.05 kB / 0.5761 GB, free: 26.18 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3957, allocations: 0 / 0.5761 GB, free: 26.18 MB / 446.1 MB Notification: Performance of Templates: time 0.004596/0.4004, allocations: 2.208 MB / 0.5783 GB, free: 25.95 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)