Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 73.09 kB / 20.65 MB, free: 3.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9926/0.9926, allocations: 177.1 MB / 204.5 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001706/0.001706, allocations: 242 kB / 261.3 MB, free: 12.64 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7381/0.7381, allocations: 138.4 MB / 456.3 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.5563 GB, free: 15.88 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.128e-05, allocations: 6.312 kB / 0.5563 GB, free: 15.87 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.00228/0.002311, allocations: 1.74 MB / 0.558 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.00392, allocations: 1.769 MB / 0.5598 GB, free: 12.33 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.163e-05/0.003992, allocations: 4 kB / 0.5598 GB, free: 12.33 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.004211, allocations: 43.64 kB / 0.5598 GB, free: 12.29 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.004478, allocations: 115.4 kB / 0.5599 GB, free: 12.17 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.004652, allocations: 99.52 kB / 0.56 GB, free: 12.07 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.004822, allocations: 135.5 kB / 0.5601 GB, free: 11.94 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.004872, allocations: 17.62 kB / 0.5602 GB, free: 11.92 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.005055, allocations: 83.69 kB / 0.5602 GB, free: 11.84 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.005183, allocations: 51.88 kB / 0.5603 GB, free: 11.79 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.005201, allocations: 4 kB / 0.5603 GB, free: 11.79 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.005371, allocations: 111.8 kB / 0.5604 GB, free: 11.68 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.005428, allocations: 27.86 kB / 0.5604 GB, free: 11.65 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.337e-05/0.005472, allocations: 27.91 kB / 0.5604 GB, free: 11.62 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.005712, allocations: 187.3 kB / 0.5606 GB, free: 11.44 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.005714, allocations: 0 / 0.5606 GB, free: 11.44 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005714, allocations: 0 / 0.5606 GB, free: 11.44 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.005719, allocations: 0 / 0.5606 GB, free: 11.44 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.0004093/0.006128, allocations: 499.5 kB / 0.5611 GB, free: 10.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.006157, allocations: 9.938 kB / 0.5611 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.006261, allocations: 28.83 kB / 0.5611 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.006418, allocations: 169.1 kB / 0.5613 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.006432, allocations: 4.375 kB / 0.5613 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-06/0.006442, allocations: 4.375 kB / 0.5613 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.006566, allocations: 139.3 kB / 0.5614 GB, free: 10.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.006573, allocations: 3.938 kB / 0.5614 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.006581, allocations: 8 kB / 0.5615 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-06/0.006584, allocations: 0 / 0.5615 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.858e-05/0.006623, allocations: 19.92 kB / 0.5615 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001141/0.006737, allocations: 136.7 kB / 0.5616 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.006848, allocations: 109.1 kB / 0.5617 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.006881, allocations: 39.17 kB / 0.5617 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.006892, allocations: 0 / 0.5617 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.006995, allocations: 108 kB / 0.5618 GB, free: 9.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 8.61e-07/0.006996, allocations: 4 kB / 0.5619 GB, free: 9.977 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001946/0.007191, allocations: 117.4 kB / 0.562 GB, free: 9.855 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.007243, allocations: 132.5 kB / 0.5621 GB, free: 9.695 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.007368, allocations: 230.7 kB / 0.5623 GB, free: 9.453 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.007384, allocations: 25.7 kB / 0.5623 GB, free: 9.422 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.00744, allocations: 154.8 kB / 0.5625 GB, free: 9.266 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.007473, allocations: 31.77 kB / 0.5625 GB, free: 9.234 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.007509, allocations: 27.38 kB / 0.5625 GB, free: 9.199 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.007624, allocations: 0.5 MB / 0.563 GB, free: 8.688 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.007641, allocations: 12.23 kB / 0.563 GB, free: 8.676 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.702e-05/0.007688, allocations: 84.11 kB / 0.5631 GB, free: 8.566 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.038e-05/0.007748, allocations: 62.69 kB / 0.5632 GB, free: 8.488 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.00775, allocations: 0 / 0.5632 GB, free: 8.488 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001143/0.007865, allocations: 97.7 kB / 0.5633 GB, free: 8.387 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.007874, allocations: 8 kB / 0.5633 GB, free: 8.379 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.007878, allocations: 192 / 0.5633 GB, free: 8.379 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.007888, allocations: 11.94 kB / 0.5633 GB, free: 8.367 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.151e-05/0.007959, allocations: 19.98 kB / 0.5633 GB, free: 8.348 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.007962, allocations: 0 / 0.5633 GB, free: 8.348 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.848e-05/0.008, allocations: 15.95 kB / 0.5633 GB, free: 8.332 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.008007, allocations: 3.984 kB / 0.5633 GB, free: 8.328 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 ($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 6.993e-05/0.008077, allocations: 168.5 kB / 0.5635 GB, free: 8.152 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.008099, allocations: 15.95 kB / 0.5635 GB, free: 8.137 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.008215, allocations: 103.1 kB / 0.5636 GB, free: 8.027 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.008218, allocations: 3.938 kB / 0.5636 GB, free: 8.023 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.008219, allocations: 4 kB / 0.5636 GB, free: 8.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.008223, allocations: 4 kB / 0.5636 GB, free: 8.016 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.395e-05/0.008317, allocations: 125.2 kB / 0.5637 GB, free: 7.867 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.008318, allocations: 0 / 0.5637 GB, free: 7.867 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.008358, allocations: 23.92 kB / 0.5638 GB, free: 7.844 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.00836, allocations: 4 kB / 0.5638 GB, free: 7.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.008366, allocations: 0 / 0.5638 GB, free: 7.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.008368, allocations: 4 kB / 0.5638 GB, free: 7.836 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.008369, allocations: 0 / 0.5638 GB, free: 7.836 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.008488, allocations: 155.6 kB / 0.5639 GB, free: 7.652 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.008507, allocations: 19.89 kB / 0.5639 GB, free: 7.633 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.008524, allocations: 4 kB / 0.5639 GB, free: 7.629 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.089e-05/0.008555, allocations: 4 kB / 0.5639 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.008583, allocations: 15.92 kB / 0.564 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.008593, allocations: 7.984 kB / 0.564 GB, free: 7.602 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.888e-05/0.008662, allocations: 177 kB / 0.5641 GB, free: 7.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008662, allocations: 0 / 0.5641 GB, free: 7.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001777/0.00884, allocations: 51.8 kB / 0.5642 GB, free: 7.379 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) * Number of clocked states: 0 () * 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 (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.0008567/0.009697, allocations: 0.4966 MB / 0.5647 GB, free: 7.066 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.009798, allocations: 47.59 kB / 0.5647 GB, free: 7.016 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.009799, allocations: 0 / 0.5647 GB, free: 7.016 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.959e-05/0.009839, allocations: 39.61 kB / 0.5647 GB, free: 6.973 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.01001, allocations: 40.22 kB / 0.5648 GB, free: 6.934 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.0104, allocations: 259.3 kB / 0.565 GB, free: 6.645 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.228e-05/0.01044, allocations: 67.34 kB / 0.5651 GB, free: 6.559 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.958e-05/0.01049, allocations: 21.11 kB / 0.5651 GB, free: 6.535 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.319e-05/0.01057, allocations: 106.2 kB / 0.5652 GB, free: 6.43 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01057, allocations: 0 / 0.5652 GB, free: 6.43 MB / 490.7 MB Notification: Performance of Templates: time 0.003975/0.01454, allocations: 2.977 MB / 0.5681 GB, free: 3.516 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.746393884997815]