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.005346/0.005346, allocations: 102.8 kB / 15.73 MB, free: 6.039 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.001304/0.001304, allocations: 195.8 kB / 16.67 MB, free: 5.953 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00233/0.00233, allocations: 292.3 kB / 290.8 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 0.9397/0.9397, allocations: 169.2 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 95.84 kB / 0.6814 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4277, allocations: 86.98 MB / 0.7664 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.002562/0.4303, allocations: 1.677 MB / 0.768 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.4322, allocations: 1.503 MB / 0.7695 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.851e-05/0.4323, allocations: 0 / 0.7695 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.4325, allocations: 35.77 kB / 0.7695 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.4327, allocations: 67.61 kB / 0.7696 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.433, allocations: 119.6 kB / 0.7697 GB, free: 492 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.4331, allocations: 123.6 kB / 0.7698 GB, free: 368 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.4332, allocations: 9.109 kB / 0.7698 GB, free: 360 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.4333, allocations: 63.7 kB / 0.7699 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006047/0.4339, allocations: 51.7 kB / 0.7699 GB, free: 244 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.4339, allocations: 8 kB / 0.7699 GB, free: 236 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.4341, allocations: 59.97 kB / 0.77 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.576e-05/0.4341, allocations: 27.91 kB / 0.77 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.951e-05/0.4342, allocations: 39.73 kB / 0.7701 GB, free: 108 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.4344, allocations: 147.3 kB / 0.7702 GB, free: 15.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4344, allocations: 0 / 0.7702 GB, free: 15.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.474e-06/0.4344, allocations: 0 / 0.7702 GB, free: 15.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.4344, allocations: 3.938 kB / 0.7702 GB, free: 15.96 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.0005557/0.435, allocations: 444.1 kB / 0.7706 GB, free: 15.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.435, allocations: 12.03 kB / 0.7706 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.4351, allocations: 12.75 kB / 0.7707 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.4354, allocations: 220.6 kB / 0.7709 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.4354, allocations: 12.36 kB / 0.7709 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.4354, allocations: 8.125 kB / 0.7709 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.4356, allocations: 97.02 kB / 0.771 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.4356, allocations: 4 kB / 0.771 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.4356, allocations: 4 kB / 0.771 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.4357, allocations: 0 / 0.771 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.4358, allocations: 55.89 kB / 0.771 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.436, allocations: 211.5 kB / 0.7712 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.4363, allocations: 119.7 kB / 0.7714 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.4364, allocations: 50.56 kB / 0.7714 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.4364, allocations: 0 / 0.7714 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.4366, allocations: 113.9 kB / 0.7715 GB, free: 14.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.4367, allocations: 0 / 0.7715 GB, free: 14.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004477/0.4371, allocations: 161.4 kB / 0.7717 GB, free: 14.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.4372, allocations: 132.5 kB / 0.7718 GB, free: 14.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.4373, allocations: 176.9 kB / 0.772 GB, free: 13.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.4374, allocations: 37.64 kB / 0.772 GB, free: 13.86 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.4374, allocations: 96.14 kB / 0.7721 GB, free: 13.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.4375, allocations: 27.64 kB / 0.7721 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.4375, allocations: 25.72 kB / 0.7721 GB, free: 13.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.4376, allocations: 322.8 kB / 0.7724 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.4377, allocations: 31.97 kB / 0.7725 GB, free: 13.35 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.4378, allocations: 68.2 kB / 0.7725 GB, free: 13.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.4381, allocations: 91.34 kB / 0.7726 GB, free: 13.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4381, allocations: 4.031 kB / 0.7726 GB, free: 13.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002839/0.4384, allocations: 137.4 kB / 0.7728 GB, free: 13.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.4384, allocations: 4 kB / 0.7728 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.4384, allocations: 0 / 0.7728 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.4384, allocations: 4 kB / 0.7728 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.4385, allocations: 19.98 kB / 0.7728 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4385, allocations: 3.938 kB / 0.7728 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.746e-05/0.4386, allocations: 19.98 kB / 0.7728 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.4386, allocations: 4 kB / 0.7728 GB, free: 12.97 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 9.66e-05/0.4387, allocations: 132.4 kB / 0.7729 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.4388, allocations: 7.906 kB / 0.773 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.93e-05/0.4388, allocations: 17.39 kB / 0.773 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4388, allocations: 4 kB / 0.773 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4388, allocations: 4 kB / 0.773 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4388, allocations: 0 / 0.773 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.439, allocations: 213.4 kB / 0.7732 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.439, allocations: 4 kB / 0.7732 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-05/0.4391, allocations: 11.98 kB / 0.7732 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.4391, allocations: 0 / 0.7732 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.4391, allocations: 8 kB / 0.7732 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4391, allocations: 7.875 kB / 0.7732 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4391, allocations: 4 kB / 0.7732 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.4394, allocations: 166.6 kB / 0.7734 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.4395, allocations: 92.91 kB / 0.7735 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.4395, allocations: 4 kB / 0.7735 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.4396, allocations: 4 kB / 0.7735 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.4396, allocations: 7.984 kB / 0.7735 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.4397, allocations: 4 kB / 0.7735 GB, free: 12.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001009/0.4398, allocations: 148.9 kB / 0.7736 GB, free: 12.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.343e-06/0.4398, allocations: 0 / 0.7736 GB, free: 12.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002293/0.44, allocations: 35.88 kB / 0.7737 GB, free: 12.01 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.0008865/0.4409, allocations: 452 kB / 0.7741 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.4412, allocations: 83.89 kB / 0.7742 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4412, allocations: 3.938 kB / 0.7742 GB, free: 11.65 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.4413, allocations: 47.91 kB / 0.7742 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.4416, allocations: 35.84 kB / 0.7743 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.442, allocations: 233.4 kB / 0.7745 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.4422, allocations: 0.7039 MB / 0.7752 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.646e-05/0.4423, allocations: 24.86 kB / 0.7752 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.4424, allocations: 19.42 kB / 0.7752 GB, free: 10.54 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.4424, allocations: 0 / 0.7752 GB, free: 10.54 MB / 0.545 GB Notification: Performance of Templates: time 0.004257/0.4466, allocations: 2.043 MB / 0.7772 GB, free: 8.523 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)