Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 212.2 kB / 22.99 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9979/0.9979, allocations: 149.9 MB / 463 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 66.83 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.196, allocations: 89.17 MB / 0.7281 GB, free: 1.031 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.005088/0.2011, allocations: 1.621 MB / 0.7297 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.203, allocations: 0.6428 MB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.2031, allocations: 4 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.2033, allocations: 23.8 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.2036, allocations: 46.38 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008162/0.2045, allocations: 131.7 kB / 0.7306 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004295/0.2049, allocations: 183.6 kB / 0.7307 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.205, allocations: 17.62 kB / 0.7307 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.2053, allocations: 95.75 kB / 0.7308 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.2055, allocations: 75.72 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.343e-05/0.2056, allocations: 16 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.2057, allocations: 31.98 kB / 0.731 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.2059, allocations: 35.84 kB / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.206, allocations: 59.78 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.2064, allocations: 183.5 kB / 0.7312 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2064, allocations: 7.938 kB / 0.7312 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2064, allocations: 0 / 0.7312 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.2064, allocations: 0 / 0.7312 GB, free: 13.86 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009318/0.2073, allocations: 488.4 kB / 0.7317 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2073, allocations: 12.03 kB / 0.7317 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.204e-05/0.2074, allocations: 42.73 kB / 0.7317 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/0.2076, allocations: 24.84 kB / 0.7318 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/0.2081, allocations: 182.4 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.2081, allocations: 12.38 kB / 0.732 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.341e-05/0.2082, allocations: 12.38 kB / 0.732 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004965/0.2087, allocations: 180.9 kB / 0.7321 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.2087, allocations: 0 / 0.7321 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.2087, allocations: 7.938 kB / 0.7321 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2087, allocations: 0 / 0.7321 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003875/0.2091, allocations: 123.3 kB / 0.7323 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009982/0.2101, allocations: 379.6 kB / 0.7326 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.2105, allocations: 141.9 kB / 0.7328 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.2108, allocations: 128.2 kB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.2108, allocations: 0 / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005154/0.2114, allocations: 242.2 kB / 0.7331 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.2114, allocations: 0 / 0.7331 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.001394/0.2128, allocations: 479.8 kB / 0.7336 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/0.2129, allocations: 166.1 kB / 0.7337 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.2132, allocations: 175.6 kB / 0.7339 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.2133, allocations: 37.69 kB / 0.7339 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.2134, allocations: 104.4 kB / 0.734 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.2134, allocations: 31.73 kB / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.2135, allocations: 41.7 kB / 0.7341 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002239/0.2138, allocations: 326.8 kB / 0.7344 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/0.2141, allocations: 166.8 kB / 0.7346 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.2145, allocations: 221.6 kB / 0.7348 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000586/0.2151, allocations: 308.9 kB / 0.7351 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2151, allocations: 4 kB / 0.7351 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.001038/0.2161, allocations: 466.9 kB / 0.7355 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.2162, allocations: 118.8 kB / 0.7356 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.2163, allocations: 4 kB / 0.7356 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.2163, allocations: 4 kB / 0.7357 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.2164, allocations: 16.23 kB / 0.7357 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2164, allocations: 4 kB / 0.7357 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.2166, allocations: 15.98 kB / 0.7357 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.2166, allocations: 8 kB / 0.7357 GB, free: 8.711 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.0002573/0.2169, allocations: 204.3 kB / 0.7359 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.2169, allocations: 23.84 kB / 0.7359 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.47e-05/0.217, allocations: 17.39 kB / 0.7359 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.217, allocations: 0 / 0.7359 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.217, allocations: 0 / 0.7359 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.217, allocations: 0 / 0.7359 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.2183, allocations: 0.6137 MB / 0.7365 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2183, allocations: 0 / 0.7365 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.2184, allocations: 15.98 kB / 0.7365 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2184, allocations: 0 / 0.7365 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.2185, allocations: 4 kB / 0.7365 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2185, allocations: 0 / 0.7365 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.2185, allocations: 3.938 kB / 0.7366 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.2196, allocations: 466.1 kB / 0.737 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.2196, allocations: 15.91 kB / 0.737 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.848e-05/0.2197, allocations: 8 kB / 0.737 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.2199, allocations: 11.98 kB / 0.737 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.2199, allocations: 15.91 kB / 0.737 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.22, allocations: 8 kB / 0.7371 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001916/0.2202, allocations: 128.1 kB / 0.7372 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2202, allocations: 0 / 0.7372 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005558/0.2207, allocations: 39.94 kB / 0.7372 GB, free: 7.016 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * 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: 2 * 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 Backend phase and start with SimCode phase: time 0.00174/0.2225, allocations: 1.023 MB / 0.7382 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.2235, allocations: 0.5113 MB / 0.7387 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2235, allocations: 0.5 kB / 0.7387 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004697/0.224, allocations: 250.1 kB / 0.739 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.2245, allocations: 23.92 kB / 0.739 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004956/0.2295, allocations: 2.627 MB / 0.7415 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.2296, allocations: 97.19 kB / 0.7416 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001052/0.2297, allocations: 20.47 kB / 0.7417 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.702e-05/0.2298, allocations: 35.42 kB / 0.7417 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/0.2298, allocations: 0 / 0.7417 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/0.2645, allocations: 4.328 MB / 0.7459 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.58, allocations: 8 kB / 0.7459 GB, free: 13.85 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter_res.csv --start-time -1.21 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.817201646976173] Failed to read output from testmodel.py, exit status != 0: 11.690984532237053 12.034531444 11.508162697 Calling exit ...