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.001137/0.001137, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001146/0.001146, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002344/0.002344, allocations: 287.3 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9712/0.9712, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 99.84 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4784/0.4804, allocations: 86.97 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.00281/0.4832, allocations: 1.676 MB / 0.7687 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.4852, allocations: 1.499 MB / 0.7701 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.337e-05/0.4853, allocations: 3.938 kB / 0.7701 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.4856, allocations: 39.77 kB / 0.7702 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.4859, allocations: 67.67 kB / 0.7703 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.4862, allocations: 119.6 kB / 0.7704 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.4864, allocations: 127.5 kB / 0.7705 GB, free: 412 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.804e-05/0.4864, allocations: 13.11 kB / 0.7705 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.4866, allocations: 55.72 kB / 0.7706 GB, free: 344 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.4868, allocations: 51.7 kB / 0.7706 GB, free: 292 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.4868, allocations: 8 kB / 0.7706 GB, free: 284 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.4869, allocations: 63.95 kB / 0.7707 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.987e-05/0.487, allocations: 27.86 kB / 0.7707 GB, free: 192 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.809e-05/0.4871, allocations: 43.73 kB / 0.7707 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.4873, allocations: 147.3 kB / 0.7709 GB, free: 4 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4873, allocations: 0 / 0.7709 GB, free: 4 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.548e-05/0.4873, allocations: 4 kB / 0.7709 GB, free: 0 / 0.5294 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.4873, allocations: 128 / 0.7709 GB, free: 16 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.0006131/0.488, allocations: 439.5 kB / 0.7713 GB, free: 15.53 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.488, allocations: 8.031 kB / 0.7713 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.4881, allocations: 20.73 kB / 0.7713 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.4883, allocations: 228.5 kB / 0.7715 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.4884, allocations: 4.375 kB / 0.7716 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.4884, allocations: 12.12 kB / 0.7716 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.4886, allocations: 93.08 kB / 0.7717 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.4886, allocations: 0 / 0.7717 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.4886, allocations: 4 kB / 0.7717 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.4887, allocations: 0 / 0.7717 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.4888, allocations: 55.89 kB / 0.7717 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.4891, allocations: 203.5 kB / 0.7719 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.4893, allocations: 115.8 kB / 0.772 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.4895, allocations: 54.5 kB / 0.7721 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.4895, allocations: 0 / 0.7721 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.4897, allocations: 117.9 kB / 0.7722 GB, free: 14.46 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.4897, allocations: 0 / 0.7722 GB, free: 14.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004626/0.4902, allocations: 161.4 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.146e-05/0.4903, allocations: 136.5 kB / 0.7725 GB, free: 14.13 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.4905, allocations: 180.9 kB / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.4905, allocations: 25.7 kB / 0.7727 GB, free: 13.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.639e-05/0.4906, allocations: 100.1 kB / 0.7728 GB, free: 13.81 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.4906, allocations: 31.62 kB / 0.7728 GB, free: 13.78 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.4907, allocations: 25.7 kB / 0.7728 GB, free: 13.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.4908, allocations: 326.8 kB / 0.7731 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.908e-05/0.4909, allocations: 27.98 kB / 0.7731 GB, free: 13.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.491, allocations: 72.2 kB / 0.7732 GB, free: 13.31 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.4912, allocations: 87.34 kB / 0.7733 GB, free: 13.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4912, allocations: 8.031 kB / 0.7733 GB, free: 13.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002768/0.4915, allocations: 133.4 kB / 0.7734 GB, free: 13.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.4915, allocations: 8 kB / 0.7734 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4916, allocations: 0 / 0.7734 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.4916, allocations: 0 / 0.7734 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.4917, allocations: 20.3 kB / 0.7735 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4917, allocations: 4 kB / 0.7735 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.455e-05/0.4918, allocations: 19.98 kB / 0.7735 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.4918, allocations: 8 kB / 0.7735 GB, free: 13.01 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.0001058/0.4919, allocations: 136.1 kB / 0.7736 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.492, allocations: 15.89 kB / 0.7736 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.373e-05/0.492, allocations: 13.41 kB / 0.7736 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.492, allocations: 0 / 0.7736 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.492, allocations: 0 / 0.7736 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.492, allocations: 4 kB / 0.7737 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.4922, allocations: 205.5 kB / 0.7738 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4922, allocations: 4 kB / 0.7739 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.667e-05/0.4923, allocations: 11.98 kB / 0.7739 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4923, allocations: 4 kB / 0.7739 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.4923, allocations: 0 / 0.7739 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.4923, allocations: 7.984 kB / 0.7739 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4923, allocations: 3.938 kB / 0.7739 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.4926, allocations: 170.6 kB / 0.774 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.4927, allocations: 88.92 kB / 0.7741 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.4927, allocations: 0 / 0.7741 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.299e-05/0.4928, allocations: 15.98 kB / 0.7741 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.4928, allocations: 4 kB / 0.7741 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.4929, allocations: 7.984 kB / 0.7742 GB, free: 12.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00011/0.493, allocations: 136.8 kB / 0.7743 GB, free: 12.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.493, allocations: 0 / 0.7743 GB, free: 12.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002342/0.4932, allocations: 31.98 kB / 0.7743 GB, free: 12.06 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.0009862/0.4942, allocations: 455.4 kB / 0.7747 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002875/0.4945, allocations: 83.89 kB / 0.7748 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.4945, allocations: 0 / 0.7748 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.4947, allocations: 47.84 kB / 0.7749 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.4949, allocations: 40.34 kB / 0.7749 GB, free: 11.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/0.4954, allocations: 271 kB / 0.7752 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.4957, allocations: 0.7039 MB / 0.7759 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.863e-05/0.4958, allocations: 19.42 kB / 0.7759 GB, free: 10.57 MB / 0.545 GB Notification: Performance of SimCode: time 3.5e-07/0.4958, allocations: 0 / 0.7759 GB, free: 10.57 MB / 0.545 GB Notification: Performance of Templates: time 0.00375/0.4995, allocations: 2.211 MB / 0.778 GB, free: 8.383 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)