Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001102/0.001103, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01011/0.01011, allocations: 169 kB / 16.26 MB, free: 6.652 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.358/1.358, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 473.4 MB / 0.7469 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003737, allocations: 9.344 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3374, allocations: 162.2 MB / 1.074 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002272/0.3397, allocations: 1.402 MB / 1.076 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001943/0.3417, allocations: 1.448 MB / 1.077 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-05/0.3418, allocations: 0 / 1.077 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.3421, allocations: 39.83 kB / 1.077 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.3423, allocations: 55.77 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.3425, allocations: 99.75 kB / 1.077 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.3427, allocations: 123.6 kB / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.638e-05/0.3428, allocations: 13.11 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.3429, allocations: 43.78 kB / 1.077 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.3431, allocations: 59.7 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.3431, allocations: 4 kB / 1.077 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.3432, allocations: 59.95 kB / 1.077 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.014e-05/0.3433, allocations: 19.92 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.3434, allocations: 61.44 kB / 1.077 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.3436, allocations: 151.8 kB / 1.078 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3436, allocations: 0 / 1.078 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3436, allocations: 0 / 1.078 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.3436, allocations: 0 / 1.078 GB, free: 3.898 MB / 0.8262 GB 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.00061/0.3442, allocations: 432.5 kB / 1.078 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3443, allocations: 12.03 kB / 1.078 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.3443, allocations: 12.84 kB / 1.078 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.3446, allocations: 212 kB / 1.078 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.3446, allocations: 4.375 kB / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.3446, allocations: 12.11 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.3449, allocations: 105 kB / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3449, allocations: 0 / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.3449, allocations: 8 kB / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3449, allocations: 0 / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.3451, allocations: 63.89 kB / 1.078 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.3454, allocations: 207.4 kB / 1.079 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.3456, allocations: 119.8 kB / 1.079 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.3458, allocations: 54.55 kB / 1.079 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.3458, allocations: 8 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002665/0.3461, allocations: 121.8 kB / 1.079 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.3461, allocations: 0 / 1.079 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004982/0.3466, allocations: 173.4 kB / 1.079 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.3467, allocations: 132.5 kB / 1.079 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.3469, allocations: 180.4 kB / 1.079 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.3469, allocations: 29.7 kB / 1.079 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.386e-05/0.3469, allocations: 104.1 kB / 1.08 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.347, allocations: 23.7 kB / 1.08 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.347, allocations: 17.72 kB / 1.08 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3471, allocations: 322.8 kB / 1.08 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.3473, allocations: 35.92 kB / 1.08 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.3474, allocations: 72.2 kB / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.3476, allocations: 107.4 kB / 1.08 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3476, allocations: 0 / 1.08 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003202/0.348, allocations: 145.5 kB / 1.08 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.348, allocations: 4 kB / 1.08 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.348, allocations: 0 / 1.08 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.348, allocations: 7.938 kB / 1.08 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.3482, allocations: 19.98 kB / 1.08 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.3482, allocations: 3.938 kB / 1.08 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.738e-05/0.3483, allocations: 23.83 kB / 1.08 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/0.3483, allocations: 0 / 1.08 GB, free: 0.8633 MB / 0.8262 GB 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 9.922e-05/0.3484, allocations: 134.1 kB / 1.08 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.3484, allocations: 11.91 kB / 1.08 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.3485, allocations: 13.41 kB / 1.08 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.3485, allocations: 4 kB / 1.08 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3485, allocations: 4 kB / 1.08 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3485, allocations: 3.984 kB / 1.08 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.3487, allocations: 205.5 kB / 1.081 GB, free: 444 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3487, allocations: 0 / 1.081 GB, free: 444 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.396e-05/0.3487, allocations: 16 kB / 1.081 GB, free: 428 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3488, allocations: 4 kB / 1.081 GB, free: 424 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.3488, allocations: 7.984 kB / 1.081 GB, free: 416 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.3488, allocations: 4 kB / 1.081 GB, free: 412 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3488, allocations: 3.938 kB / 1.081 GB, free: 408 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.3491, allocations: 174.5 kB / 1.081 GB, free: 208 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.3492, allocations: 89.02 kB / 1.081 GB, free: 100 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.3492, allocations: 3.984 kB / 1.081 GB, free: 96 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-05/0.3493, allocations: 8 kB / 1.081 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.3494, allocations: 11.98 kB / 1.081 GB, free: 76 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.3494, allocations: 8 kB / 1.081 GB, free: 68 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000121/0.3495, allocations: 131.2 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3495, allocations: 0 / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002549/0.3498, allocations: 35.91 kB / 1.081 GB, free: 15.9 MB / 0.8419 GB 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.001072/0.3509, allocations: 460.3 kB / 1.082 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003022/0.3512, allocations: 91.89 kB / 1.082 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3512, allocations: 0 / 1.082 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.3513, allocations: 56.09 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.3516, allocations: 23.92 kB / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005065/0.3522, allocations: 270.9 kB / 1.082 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.3524, allocations: 0.7004 MB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.203e-05/0.3525, allocations: 24.86 kB / 1.083 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.3525, allocations: 19.42 kB / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of SimCode: time 2.725e-06/0.3526, allocations: 0 / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of Templates: time 0.004738/0.3573, allocations: 1.909 MB / 1.085 GB, free: 12.49 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)