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.00125/0.00125, allocations: 102.4 kB / 15.98 MB, free: 5.863 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.001234/0.001234, allocations: 196.6 kB / 16.91 MB, free: 5.727 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.276/1.276, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6909/0.6909, allocations: 115.3 MB / 406.1 MB, free: 6.316 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 67.91 kB / 493.2 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3088, allocations: 76.18 MB / 0.556 GB, free: 36.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.002458/0.3113, allocations: 1.718 MB / 0.5577 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.3128, allocations: 1.484 MB / 0.5591 GB, free: 33.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.214e-05/0.3129, allocations: 1.406 kB / 0.5591 GB, free: 33.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.3131, allocations: 33.66 kB / 0.5592 GB, free: 33.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.3133, allocations: 55.27 kB / 0.5592 GB, free: 33.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.3136, allocations: 102.2 kB / 0.5593 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.3138, allocations: 126.3 kB / 0.5595 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.3138, allocations: 9.734 kB / 0.5595 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.3139, allocations: 57.86 kB / 0.5595 GB, free: 33.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.3141, allocations: 56.55 kB / 0.5596 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.3141, allocations: 11.28 kB / 0.5596 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.3142, allocations: 65.12 kB / 0.5596 GB, free: 33.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.473e-05/0.3143, allocations: 23.78 kB / 0.5597 GB, free: 33.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.247e-05/0.3144, allocations: 42.67 kB / 0.5597 GB, free: 33.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.3145, allocations: 144.2 kB / 0.5598 GB, free: 33.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3146, allocations: 3.422 kB / 0.5598 GB, free: 33.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3146, allocations: 5.281 kB / 0.5599 GB, free: 33.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.3146, allocations: 0 / 0.5599 GB, free: 33.59 MB / 446.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.0005184/0.3151, allocations: 442.8 kB / 0.5603 GB, free: 33.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.3151, allocations: 10.12 kB / 0.5603 GB, free: 33.16 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.854e-05/0.3152, allocations: 33.73 kB / 0.5603 GB, free: 33.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.3152, allocations: 11.03 kB / 0.5603 GB, free: 33.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.3154, allocations: 227.3 kB / 0.5605 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3154, allocations: 4.469 kB / 0.5605 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.3155, allocations: 6.219 kB / 0.5606 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.3157, allocations: 110.7 kB / 0.5607 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3157, allocations: 0 / 0.5607 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.3157, allocations: 1.438 kB / 0.5607 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3157, allocations: 0 / 0.5607 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.3159, allocations: 54.06 kB / 0.5607 GB, free: 32.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.3161, allocations: 208.4 kB / 0.5609 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.3163, allocations: 118.9 kB / 0.561 GB, free: 32.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3164, allocations: 48.94 kB / 0.5611 GB, free: 32.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.3165, allocations: 3.172 kB / 0.5611 GB, free: 32.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.3167, allocations: 111 kB / 0.5612 GB, free: 32.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.3167, allocations: 0 / 0.5612 GB, free: 32.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004363/0.3171, allocations: 161.1 kB / 0.5613 GB, free: 32.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.3172, allocations: 140.4 kB / 0.5615 GB, free: 32.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.3173, allocations: 169.3 kB / 0.5616 GB, free: 32.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.3173, allocations: 31.64 kB / 0.5617 GB, free: 31.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.3174, allocations: 104.1 kB / 0.5618 GB, free: 31.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.3174, allocations: 27.5 kB / 0.5618 GB, free: 31.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.3175, allocations: 30.78 kB / 0.5618 GB, free: 31.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.173e-05/0.3175, allocations: 323.1 kB / 0.5621 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.3176, allocations: 32.02 kB / 0.5622 GB, free: 31.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.3177, allocations: 63 kB / 0.5622 GB, free: 31.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.3179, allocations: 95.61 kB / 0.5623 GB, free: 31.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3179, allocations: 7.938 kB / 0.5623 GB, free: 31.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002845/0.3182, allocations: 131.5 kB / 0.5624 GB, free: 31.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.3183, allocations: 5.578 kB / 0.5624 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3183, allocations: 3.031 kB / 0.5624 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.3183, allocations: 1.375 kB / 0.5624 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3184, allocations: 25.41 kB / 0.5625 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.3184, allocations: 1.938 kB / 0.5625 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.052e-05/0.3185, allocations: 17.38 kB / 0.5625 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.3185, allocations: 3.594 kB / 0.5625 GB, free: 31.32 MB / 446.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 ($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 7.272e-05/0.3186, allocations: 129.5 kB / 0.5626 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.3186, allocations: 12.22 kB / 0.5626 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.3187, allocations: 16.2 kB / 0.5626 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.3187, allocations: 2.875 kB / 0.5626 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3187, allocations: 1.688 kB / 0.5626 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3187, allocations: 1.062 kB / 0.5626 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.3188, allocations: 206 kB / 0.5628 GB, free: 30.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3188, allocations: 1.156 kB / 0.5628 GB, free: 30.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.482e-05/0.3189, allocations: 18.31 kB / 0.5629 GB, free: 30.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3189, allocations: 2.156 kB / 0.5629 GB, free: 30.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3189, allocations: 6.391 kB / 0.5629 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.319, allocations: 3.031 kB / 0.5629 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.319, allocations: 4.719 kB / 0.5629 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.3193, allocations: 169.3 kB / 0.563 GB, free: 30.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.3193, allocations: 85.02 kB / 0.5631 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.3193, allocations: 9.031 kB / 0.5631 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.907e-05/0.3194, allocations: 7.328 kB / 0.5631 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.3195, allocations: 15.64 kB / 0.5632 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.3195, allocations: 9.844 kB / 0.5632 GB, free: 30.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.873e-05/0.3196, allocations: 135.4 kB / 0.5633 GB, free: 30.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3196, allocations: 0 / 0.5633 GB, free: 30.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.3198, allocations: 29.77 kB / 0.5633 GB, free: 30.64 MB / 446.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 (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.001262/0.3211, allocations: 1.041 MB / 0.5643 GB, free: 29.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002823/0.3214, allocations: 90.28 kB / 0.5644 GB, free: 29.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3214, allocations: 5.062 kB / 0.5644 GB, free: 29.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.3215, allocations: 38.91 kB / 0.5645 GB, free: 29.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.3218, allocations: 48.33 kB / 0.5645 GB, free: 29.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.3234, allocations: 1.718 MB / 0.5662 GB, free: 28.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.3236, allocations: 0.7053 MB / 0.5669 GB, free: 27.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.728e-05/0.3237, allocations: 15.17 kB / 0.5669 GB, free: 27.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.899e-05/0.3237, allocations: 39.88 kB / 0.5669 GB, free: 27.76 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3237, allocations: 0 / 0.5669 GB, free: 27.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.3445, allocations: 3.634 MB / 0.5705 GB, free: 27.17 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001255/0.3446, allocations: 234.3 kB / 0.5707 GB, free: 26.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.119, allocations: 0 / 0.5707 GB, free: 26.92 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/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)