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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 184.8 kB / 7.803 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4491/0.4491, allocations: 90.86 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 221.4 MB / 342.8 MB, free: 5.078 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000921/0.000921, allocations: 97.72 kB / 415.5 MB, free: 6.375 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.841e-06/5.851e-06, allocations: 0 / 493.9 MB, free: 8.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3629, allocations: 72.29 MB / 0.5529 GB, free: 73.42 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.4818, allocations: 105 MB / 0.6555 GB, free: 5.008 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.4821, allocations: 85.41 kB / 0.6555 GB, free: 4.926 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01701/0.4991, allocations: 5.796 MB / 0.6612 GB, free: 15.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.4992, allocations: 7.922 kB / 0.6612 GB, free: 15.2 MB / 490.7 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.000717/0.4999, allocations: 457.3 kB / 0.6616 GB, free: 14.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.5, allocations: 8.75 kB / 0.6616 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/0.5, allocations: 11.81 kB / 0.6617 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.5005, allocations: 218.3 kB / 0.6619 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.5005, allocations: 0.5938 kB / 0.6619 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.5005, allocations: 7.906 kB / 0.6619 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001265/0.5007, allocations: 28.89 kB / 0.6619 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.5008, allocations: 99.48 kB / 0.662 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.5008, allocations: 0.5625 kB / 0.662 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.5009, allocations: 0.8125 kB / 0.662 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.5009, allocations: 0 / 0.662 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.5012, allocations: 196.1 kB / 0.6622 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.5014, allocations: 107.8 kB / 0.6623 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.324e-05/0.5015, allocations: 36.22 kB / 0.6623 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.5015, allocations: 8.562 kB / 0.6623 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.5016, allocations: 95.2 kB / 0.6624 GB, free: 13.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.5017, allocations: 4 kB / 0.6624 GB, free: 13.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.00028/0.5019, allocations: 94.73 kB / 0.6625 GB, free: 13.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.502, allocations: 137.8 kB / 0.6626 GB, free: 13.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.5022, allocations: 162.5 kB / 0.6628 GB, free: 13.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.391e-05/0.5023, allocations: 25.7 kB / 0.6628 GB, free: 13.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.49e-05/0.5023, allocations: 92.91 kB / 0.6629 GB, free: 13.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.5024, allocations: 27.64 kB / 0.6629 GB, free: 13.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.5024, allocations: 0.5938 kB / 0.6629 GB, free: 13.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5025, allocations: 327.5 kB / 0.6633 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.052e-05/0.5026, allocations: 20.66 kB / 0.6633 GB, free: 12.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.936e-05/0.5027, allocations: 54.66 kB / 0.6633 GB, free: 12.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.739e-05/0.5027, allocations: 29.3 kB / 0.6634 GB, free: 12.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5028, allocations: 0 / 0.6634 GB, free: 12.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002201/0.503, allocations: 114.2 kB / 0.6635 GB, free: 12.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.503, allocations: 4 kB / 0.6635 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.503, allocations: 0 / 0.6635 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.503, allocations: 4 kB / 0.6635 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.5032, allocations: 23.98 kB / 0.6635 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.5032, allocations: 4 kB / 0.6635 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.5033, allocations: 18.39 kB / 0.6635 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.5034, allocations: 4 kB / 0.6635 GB, free: 12.57 MB / 490.7 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.5035, allocations: 114.9 kB / 0.6636 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.5035, allocations: 11.91 kB / 0.6636 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.5038, allocations: 103 kB / 0.6637 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.5038, allocations: 4 kB / 0.6637 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.5038, allocations: 0 / 0.6637 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5038, allocations: 0 / 0.6637 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.504, allocations: 190 kB / 0.6639 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.504, allocations: 8 kB / 0.6639 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.668e-05/0.5041, allocations: 19.92 kB / 0.664 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.5041, allocations: 4 kB / 0.664 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.5042, allocations: 4 kB / 0.664 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.5042, allocations: 3.938 kB / 0.664 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.5042, allocations: 4 kB / 0.664 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002428/0.5044, allocations: 166 kB / 0.6641 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.828e-05/0.5045, allocations: 96.91 kB / 0.6642 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.5045, allocations: 3.375 kB / 0.6642 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.16e-05/0.5046, allocations: 15.98 kB / 0.6642 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.5047, allocations: 10.05 kB / 0.6642 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.5047, allocations: 4 kB / 0.6642 GB, free: 11.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001283/0.5049, allocations: 135.2 kB / 0.6644 GB, free: 11.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003012/0.5052, allocations: 39.92 kB / 0.6644 GB, free: 11.55 MB / 490.7 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008356/0.506, allocations: 356.5 kB / 0.6648 GB, free: 11.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.5062, allocations: 63.92 kB / 0.6648 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5062, allocations: 0 / 0.6648 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.5063, allocations: 39.97 kB / 0.6649 GB, free: 11.26 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.5066, allocations: 26.84 kB / 0.6649 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/0.5071, allocations: 169.1 kB / 0.665 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004537/0.5076, allocations: 0.7231 MB / 0.6657 GB, free: 10.29 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5076, allocations: 4 kB / 0.6658 GB, free: 10.29 MB / 490.7 MB Notification: Performance of Templates: time 0.005407/0.513, allocations: 1.938 MB / 0.6676 GB, free: 8.402 MB / 490.7 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)