Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 105.5 kB / 16.4 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 245.1 MB, free: 4.332 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.318/1.318, allocations: 173.4 MB / 470.7 MB, free: 6.695 MB / 366.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002881/0.002881, allocations: 57.91 kB / 0.6478 GB, free: 23.08 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2057, allocations: 89.52 MB / 0.7352 GB, free: 4.184 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003437/0.2092, allocations: 1.674 MB / 0.7369 GB, free: 2.496 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002532/0.2117, allocations: 1.511 MB / 0.7384 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.2119, allocations: 4 kB / 0.7384 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.2123, allocations: 35.77 kB / 0.7384 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.2126, allocations: 71.61 kB / 0.7385 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.213, allocations: 111.6 kB / 0.7386 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.2132, allocations: 127.6 kB / 0.7387 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.51e-05/0.2133, allocations: 21.05 kB / 0.7387 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.2134, allocations: 51.78 kB / 0.7388 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.2136, allocations: 59.69 kB / 0.7388 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.2137, allocations: 8 kB / 0.7388 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.2138, allocations: 59.97 kB / 0.7389 GB, free: 448 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.339e-05/0.2139, allocations: 23.86 kB / 0.7389 GB, free: 424 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.357e-05/0.214, allocations: 39.73 kB / 0.7389 GB, free: 384 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.2143, allocations: 143.5 kB / 0.7391 GB, free: 240 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2143, allocations: 4 kB / 0.7391 GB, free: 236 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2143, allocations: 0 / 0.7391 GB, free: 236 kB / 0.545 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.2143, allocations: 4 kB / 0.7391 GB, free: 232 kB / 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.0007564/0.2151, allocations: 460.3 kB / 0.7395 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.2151, allocations: 8.031 kB / 0.7395 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.2152, allocations: 30.75 kB / 0.7396 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.2152, allocations: 12.89 kB / 0.7396 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.2156, allocations: 220.1 kB / 0.7398 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.2156, allocations: 8.375 kB / 0.7398 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.2157, allocations: 3.938 kB / 0.7398 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.2159, allocations: 105 kB / 0.7399 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2159, allocations: 0 / 0.7399 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.216, allocations: 0 / 0.7399 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.216, allocations: 7.984 kB / 0.7399 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.2162, allocations: 47.91 kB / 0.74 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.2165, allocations: 207.5 kB / 0.7402 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.2168, allocations: 119.7 kB / 0.7403 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.2169, allocations: 50.61 kB / 0.7403 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.2169, allocations: 4 kB / 0.7403 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.2172, allocations: 109.9 kB / 0.7404 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.2172, allocations: 3.938 kB / 0.7404 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0005176/0.2177, allocations: 165.5 kB / 0.7406 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.2179, allocations: 132.5 kB / 0.7407 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.2181, allocations: 175.5 kB / 0.7409 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.2181, allocations: 33.64 kB / 0.7409 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.211e-05/0.2182, allocations: 104.4 kB / 0.741 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.2182, allocations: 31.78 kB / 0.741 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.2183, allocations: 21.72 kB / 0.7411 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.2185, allocations: 326.8 kB / 0.7414 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.2186, allocations: 39.91 kB / 0.7414 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.2187, allocations: 60.27 kB / 0.7415 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.219, allocations: 95.38 kB / 0.7416 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.219, allocations: 3.938 kB / 0.7416 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000327/0.2193, allocations: 137.5 kB / 0.7417 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2194, allocations: 4 kB / 0.7417 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.2194, allocations: 0 / 0.7417 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.2194, allocations: 4 kB / 0.7417 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.2195, allocations: 27.92 kB / 0.7417 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2195, allocations: 0 / 0.7417 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.004e-05/0.2196, allocations: 4 kB / 0.7417 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.2196, allocations: 7.984 kB / 0.7417 GB, free: 13.18 MB / 0.5606 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.0001428/0.2198, allocations: 129.9 kB / 0.7419 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.2198, allocations: 15.91 kB / 0.7419 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.378e-05/0.2199, allocations: 17.39 kB / 0.7419 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.2199, allocations: 4 kB / 0.7419 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2199, allocations: 0 / 0.7419 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2199, allocations: 0 / 0.7419 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.2202, allocations: 209.8 kB / 0.7421 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2202, allocations: 0 / 0.7421 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.781e-05/0.2203, allocations: 19.98 kB / 0.7421 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.2203, allocations: 3.938 kB / 0.7421 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.2203, allocations: 12 kB / 0.7421 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2203, allocations: 0 / 0.7421 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2203, allocations: 0 / 0.7421 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.2207, allocations: 166.6 kB / 0.7423 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.154e-05/0.2208, allocations: 93.02 kB / 0.7424 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.2209, allocations: 11.92 kB / 0.7424 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.2209, allocations: 11.98 kB / 0.7424 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.221, allocations: 7.984 kB / 0.7424 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.221, allocations: 7.938 kB / 0.7424 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001418/0.2212, allocations: 136.4 kB / 0.7425 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2212, allocations: 0 / 0.7425 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002694/0.2215, allocations: 35.88 kB / 0.7426 GB, free: 12.21 MB / 0.5606 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.002425/0.2239, allocations: 1.047 MB / 0.7436 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003982/0.2243, allocations: 83.89 kB / 0.7437 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.2243, allocations: 3.938 kB / 0.7437 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.2245, allocations: 44.22 kB / 0.7437 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.225, allocations: 27.64 kB / 0.7438 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.2276, allocations: 1.7 MB / 0.7454 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.228, allocations: 0.708 MB / 0.7461 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.031e-05/0.228, allocations: 24.47 kB / 0.7461 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.548e-05/0.2281, allocations: 39.41 kB / 0.7462 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.2281, allocations: 0 / 0.7462 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.255, allocations: 3.838 MB / 0.7499 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.362, allocations: 9.797 kB / 0.7499 GB, free: 4.766 MB / 0.5606 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.56064772605896] Failed to read output from testmodel.py, exit status != 0: 8.488276864867657 8.506041154 8.288923269 Calling exit ...