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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001234/0.001234, allocations: 106.1 kB / 16.41 MB, free: 6.5 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.001254/0.001254, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002071/0.002071, allocations: 292.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.098/1.098, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 99.84 kB / 0.6821 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.4439, allocations: 86.98 MB / 0.767 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.002635/0.4466, allocations: 1.672 MB / 0.7687 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.4485, allocations: 1.51 MB / 0.7702 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.653e-05/0.4486, allocations: 7.938 kB / 0.7702 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.4489, allocations: 35.77 kB / 0.7702 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.4491, allocations: 55.7 kB / 0.7702 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.4494, allocations: 131 kB / 0.7704 GB, free: 464 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.4496, allocations: 123.5 kB / 0.7705 GB, free: 340 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.4496, allocations: 13.12 kB / 0.7705 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.4497, allocations: 59.7 kB / 0.7706 GB, free: 268 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.4499, allocations: 51.75 kB / 0.7706 GB, free: 216 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.45, allocations: 8 kB / 0.7706 GB, free: 208 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.4501, allocations: 55.98 kB / 0.7707 GB, free: 152 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.776e-05/0.4502, allocations: 27.86 kB / 0.7707 GB, free: 124 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.26e-05/0.4502, allocations: 43.72 kB / 0.7707 GB, free: 80 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.4505, allocations: 147.3 kB / 0.7709 GB, free: 15.94 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4505, allocations: 0 / 0.7709 GB, free: 15.94 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4505, allocations: 3.938 kB / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.4505, allocations: 8 kB / 0.7709 GB, free: 15.93 MB / 0.545 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.000574/0.4511, allocations: 441.4 kB / 0.7713 GB, free: 15.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.4511, allocations: 8.031 kB / 0.7713 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.4512, allocations: 12.75 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.4514, allocations: 224.5 kB / 0.7715 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.4515, allocations: 4.375 kB / 0.7715 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.4515, allocations: 12.11 kB / 0.7716 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.4517, allocations: 97.09 kB / 0.7717 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.4517, allocations: 0 / 0.7717 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.4517, allocations: 3.984 kB / 0.7717 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.4518, allocations: 0 / 0.7717 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.4519, allocations: 51.89 kB / 0.7717 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002139/0.4522, allocations: 219.4 kB / 0.7719 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.4524, allocations: 107.8 kB / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.4525, allocations: 58.55 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.4526, allocations: 3.938 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.4528, allocations: 109.9 kB / 0.7722 GB, free: 14.39 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.4528, allocations: 4 kB / 0.7722 GB, free: 14.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004456/0.4532, allocations: 165.3 kB / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.4533, allocations: 136.5 kB / 0.7725 GB, free: 14.05 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.4535, allocations: 172.6 kB / 0.7726 GB, free: 13.87 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.4535, allocations: 25.7 kB / 0.7727 GB, free: 13.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.4536, allocations: 108.4 kB / 0.7728 GB, free: 13.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.4536, allocations: 27.64 kB / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.4536, allocations: 21.72 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.543e-05/0.4537, allocations: 322.8 kB / 0.7731 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-05/0.4539, allocations: 31.97 kB / 0.7732 GB, free: 13.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.454, allocations: 72.27 kB / 0.7732 GB, free: 13.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.4542, allocations: 87.34 kB / 0.7733 GB, free: 13.14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4542, allocations: 0 / 0.7733 GB, free: 13.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002718/0.4545, allocations: 137.4 kB / 0.7734 GB, free: 13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4545, allocations: 7.984 kB / 0.7734 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4545, allocations: 4 kB / 0.7734 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.4545, allocations: 0 / 0.7734 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.4546, allocations: 19.98 kB / 0.7735 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.4547, allocations: 4 kB / 0.7735 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.52e-05/0.4547, allocations: 8.219 kB / 0.7735 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.4548, allocations: 4.188 kB / 0.7735 GB, free: 12.95 MB / 0.545 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 0.0001103/0.4549, allocations: 145.7 kB / 0.7736 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.4549, allocations: 11.84 kB / 0.7736 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.481e-05/0.455, allocations: 21.39 kB / 0.7737 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.455, allocations: 0 / 0.7737 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.455, allocations: 0 / 0.7737 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.455, allocations: 4 kB / 0.7737 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.4551, allocations: 209.5 kB / 0.7739 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4551, allocations: 0 / 0.7739 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.025e-05/0.4552, allocations: 11.98 kB / 0.7739 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.4552, allocations: 8 kB / 0.7739 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.4552, allocations: 3.938 kB / 0.7739 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.4553, allocations: 4 kB / 0.7739 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4553, allocations: 0 / 0.7739 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.4556, allocations: 174.5 kB / 0.774 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.4556, allocations: 92.92 kB / 0.7741 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.4556, allocations: 0 / 0.7741 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.4557, allocations: 11.98 kB / 0.7741 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.4558, allocations: 11.98 kB / 0.7742 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.4558, allocations: 4 kB / 0.7742 GB, free: 12.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.856e-05/0.4559, allocations: 136.7 kB / 0.7743 GB, free: 12.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4559, allocations: 0 / 0.7743 GB, free: 12.01 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002344/0.4561, allocations: 28 kB / 0.7743 GB, free: 11.98 MB / 0.545 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.0009587/0.4571, allocations: 442.8 kB / 0.7747 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000277/0.4574, allocations: 95.88 kB / 0.7748 GB, free: 11.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4574, allocations: 3.938 kB / 0.7748 GB, free: 11.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.4575, allocations: 35.98 kB / 0.7749 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.4578, allocations: 44.47 kB / 0.7749 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.4583, allocations: 266.5 kB / 0.7752 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.4585, allocations: 0.7039 MB / 0.7759 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.4586, allocations: 27.42 kB / 0.7759 GB, free: 10.49 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.4586, allocations: 0 / 0.7759 GB, free: 10.49 MB / 0.545 GB Notification: Performance of Templates: time 0.003711/0.4623, allocations: 2.191 MB / 0.778 GB, free: 8.32 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)