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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 177.1 kB / 16.57 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.391/2.391, allocations: 223.2 MB / 240.5 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.138/1.138, allocations: 113.7 MB / 405.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005984/0.0005985, allocations: 8 kB / 493 MB, free: 8.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2836, allocations: 77.12 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.003039/0.2867, allocations: 1.34 MB / 0.558 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.2891, allocations: 1.382 MB / 0.5594 GB, free: 8.984 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.2893, allocations: 0 / 0.5594 GB, free: 8.984 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004716/0.2898, allocations: 39.77 kB / 0.5594 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.2902, allocations: 59.8 kB / 0.5595 GB, free: 8.887 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.2907, allocations: 91.7 kB / 0.5596 GB, free: 8.797 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.2909, allocations: 79.83 kB / 0.5596 GB, free: 8.719 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.291, allocations: 5.125 kB / 0.5597 GB, free: 8.711 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.2912, allocations: 51.83 kB / 0.5597 GB, free: 8.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.2915, allocations: 43.77 kB / 0.5597 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.2915, allocations: 0 / 0.5597 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.2917, allocations: 43.92 kB / 0.5598 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.672e-05/0.2918, allocations: 23.91 kB / 0.5598 GB, free: 8.551 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.695e-05/0.2919, allocations: 41.64 kB / 0.5598 GB, free: 8.504 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.2922, allocations: 112 kB / 0.56 GB, free: 8.395 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2922, allocations: 0 / 0.56 GB, free: 8.395 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.808e-06/0.2922, allocations: 0 / 0.56 GB, free: 8.395 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.2922, allocations: 0 / 0.56 GB, free: 8.395 MB / 430.1 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.0008289/0.293, allocations: 426.9 kB / 0.5604 GB, free: 7.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.2931, allocations: 12.03 kB / 0.5604 GB, free: 7.918 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.519e-05/0.2932, allocations: 38.55 kB / 0.5604 GB, free: 7.871 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.2932, allocations: 7.906 kB / 0.5604 GB, free: 7.863 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.2936, allocations: 218.7 kB / 0.5606 GB, free: 7.609 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.2936, allocations: 3.984 kB / 0.5606 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.2937, allocations: 8 kB / 0.5606 GB, free: 7.598 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.294, allocations: 97.05 kB / 0.5607 GB, free: 7.484 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.294, allocations: 7.938 kB / 0.5607 GB, free: 7.477 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.294, allocations: 4 kB / 0.5607 GB, free: 7.473 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.294, allocations: 0 / 0.5607 GB, free: 7.473 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.2942, allocations: 59.89 kB / 0.5608 GB, free: 7.414 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.2946, allocations: 215.4 kB / 0.561 GB, free: 7.148 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.2949, allocations: 115.8 kB / 0.5611 GB, free: 7.008 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.419e-05/0.295, allocations: 12.11 kB / 0.5611 GB, free: 6.996 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000331/0.2953, allocations: 106 kB / 0.5612 GB, free: 6.871 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.2954, allocations: 4 kB / 0.5612 GB, free: 6.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005589/0.2959, allocations: 173.4 kB / 0.5614 GB, free: 6.691 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.2961, allocations: 136.7 kB / 0.5615 GB, free: 6.527 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.2963, allocations: 184.5 kB / 0.5617 GB, free: 6.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.2964, allocations: 29.7 kB / 0.5617 GB, free: 6.305 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.2965, allocations: 104.1 kB / 0.5618 GB, free: 6.199 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.2965, allocations: 15.81 kB / 0.5618 GB, free: 6.184 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.2965, allocations: 0 / 0.5618 GB, free: 6.184 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003327/0.2969, allocations: 326.8 kB / 0.5622 GB, free: 5.855 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.297, allocations: 35.97 kB / 0.5622 GB, free: 5.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.2971, allocations: 72.2 kB / 0.5623 GB, free: 5.734 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.2973, allocations: 44.02 kB / 0.5623 GB, free: 5.691 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2973, allocations: 3.938 kB / 0.5623 GB, free: 5.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000338/0.2976, allocations: 137.4 kB / 0.5624 GB, free: 5.547 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.2977, allocations: 4 kB / 0.5624 GB, free: 5.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.2977, allocations: 96 / 0.5624 GB, free: 5.543 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.2977, allocations: 12.27 kB / 0.5625 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.2979, allocations: 19.98 kB / 0.5625 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/0.298, allocations: 4 kB / 0.5625 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.2981, allocations: 19.92 kB / 0.5625 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.2981, allocations: 0 / 0.5625 GB, free: 5.488 MB / 430.1 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003163/0.2984, allocations: 131.5 kB / 0.5626 GB, free: 5.352 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.2985, allocations: 19.81 kB / 0.5626 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.004e-05/0.2986, allocations: 13.41 kB / 0.5627 GB, free: 5.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.2986, allocations: 4 kB / 0.5627 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.2986, allocations: 7.938 kB / 0.5627 GB, free: 5.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.2986, allocations: 0 / 0.5627 GB, free: 5.309 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004159/0.2991, allocations: 197.6 kB / 0.5629 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2991, allocations: 3.938 kB / 0.5629 GB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.2992, allocations: 16 kB / 0.5629 GB, free: 5.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.956e-06/0.2992, allocations: 7.984 kB / 0.5629 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.2992, allocations: 0 / 0.5629 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.2992, allocations: 8 kB / 0.5629 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2993, allocations: 0 / 0.5629 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005275/0.2998, allocations: 205.9 kB / 0.5631 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.142e-05/0.2999, allocations: 89 kB / 0.5632 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.2999, allocations: 7.953 kB / 0.5632 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.913e-05/0.3, allocations: 8 kB / 0.5632 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.3001, allocations: 7.984 kB / 0.5632 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.3001, allocations: 4 kB / 0.5632 GB, free: 4.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001677/0.3003, allocations: 140.7 kB / 0.5633 GB, free: 4.523 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3003, allocations: 0 / 0.5633 GB, free: 4.523 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004651/0.3008, allocations: 28 kB / 0.5634 GB, free: 4.496 MB / 430.1 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.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 (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.003121/0.3039, allocations: 1.233 MB / 0.5646 GB, free: 3.418 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005343/0.3045, allocations: 87.89 kB / 0.5646 GB, free: 3.332 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3045, allocations: 0 / 0.5646 GB, free: 3.332 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.3048, allocations: 52.09 kB / 0.5647 GB, free: 3.281 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.3052, allocations: 29.17 kB / 0.5647 GB, free: 3.258 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.3081, allocations: 1.247 MB / 0.5659 GB, free: 1.941 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.3086, allocations: 0.7121 MB / 0.5666 GB, free: 1.203 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001744/0.3088, allocations: 24.73 kB / 0.5667 GB, free: 1.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.3089, allocations: 39.41 kB / 0.5667 GB, free: 1.141 MB / 430.1 MB Notification: Performance of SimCode: time 5.199e-06/0.3089, allocations: 0 / 0.5667 GB, free: 1.141 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3392/0.6482, allocations: 3.281 MB / 0.5699 GB, free: 14 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004334/0.6488, allocations: 223.9 kB / 0.5701 GB, free: 13.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.438/4.087, allocations: 0 / 0.5701 GB, free: 13.75 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) Environment - environmentSimulation: