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.001305/0.001305, allocations: 119 kB / 19.69 MB, free: 2.199 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.001473/0.001473, allocations: 221.2 kB / 23.01 MB, free: 5.047 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.988 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 1.055/1.055, allocations: 150 MB / 463.2 MB, free: 10.55 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.001986/0.001986, allocations: 62.81 kB / 0.6413 GB, free: 10.44 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1964, allocations: 89.18 MB / 0.7283 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.003175/0.1996, allocations: 1.649 MB / 0.73 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.2009, allocations: 0.6934 MB / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.21e-05/0.201, allocations: 4 kB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.2012, allocations: 19.81 kB / 0.7307 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.2014, allocations: 47.75 kB / 0.7307 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.2019, allocations: 127.7 kB / 0.7308 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.2022, allocations: 183.6 kB / 0.731 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.2024, allocations: 21.62 kB / 0.731 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.2026, allocations: 95.73 kB / 0.7311 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.2027, allocations: 87.72 kB / 0.7312 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.2028, allocations: 12 kB / 0.7312 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.256e-05/0.2028, allocations: 28 kB / 0.7312 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.539e-05/0.2029, allocations: 35.84 kB / 0.7313 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.624e-05/0.203, allocations: 75.66 kB / 0.7313 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.2033, allocations: 179.6 kB / 0.7315 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2033, allocations: 0 / 0.7315 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2033, allocations: 0 / 0.7315 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2033, allocations: 0 / 0.7315 GB, free: 14.05 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.0007496/0.204, allocations: 496.4 kB / 0.732 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2041, allocations: 8.031 kB / 0.732 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.828e-05/0.2041, allocations: 38.73 kB / 0.732 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.2043, allocations: 24.84 kB / 0.7321 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.2046, allocations: 198.3 kB / 0.7322 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.2046, allocations: 12.38 kB / 0.7323 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.2047, allocations: 16.38 kB / 0.7323 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.2049, allocations: 113.5 kB / 0.7324 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.205, allocations: 0 / 0.7324 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.205, allocations: 8 kB / 0.7324 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.205, allocations: 0 / 0.7324 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.2052, allocations: 71.89 kB / 0.7325 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006813/0.2059, allocations: 391.6 kB / 0.7328 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.206, allocations: 82.56 kB / 0.7329 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.2062, allocations: 68.81 kB / 0.733 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.2062, allocations: 4 kB / 0.733 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002768/0.2065, allocations: 178.7 kB / 0.7331 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.2065, allocations: 0 / 0.7331 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0007741/0.2073, allocations: 356.9 kB / 0.7335 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.2074, allocations: 166.2 kB / 0.7336 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.2076, allocations: 175.6 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.2076, allocations: 33.7 kB / 0.7338 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.574e-05/0.2077, allocations: 108.4 kB / 0.7339 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.2077, allocations: 31.73 kB / 0.734 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.451e-05/0.2078, allocations: 41.7 kB / 0.734 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.208, allocations: 330.8 kB / 0.7343 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.2081, allocations: 59.89 kB / 0.7344 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.2083, allocations: 98.83 kB / 0.7345 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.2087, allocations: 312.9 kB / 0.7348 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2087, allocations: 0 / 0.7348 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005507/0.2092, allocations: 356.2 kB / 0.7351 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.112e-05/0.2093, allocations: 114.8 kB / 0.7352 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.2093, allocations: 11.92 kB / 0.7352 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.2093, allocations: 288 / 0.7352 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.2095, allocations: 23.92 kB / 0.7353 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.2095, allocations: 0 / 0.7353 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.2096, allocations: 24.17 kB / 0.7353 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.2096, allocations: 8 kB / 0.7353 GB, free: 9.766 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.0001797/0.2098, allocations: 207 kB / 0.7355 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.2098, allocations: 19.91 kB / 0.7355 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.2098, allocations: 13.39 kB / 0.7355 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2098, allocations: 4 kB / 0.7355 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2098, allocations: 0 / 0.7355 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2098, allocations: 0 / 0.7355 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000796/0.2106, allocations: 0.5671 MB / 0.7361 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2106, allocations: 0 / 0.7361 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.282e-05/0.2107, allocations: 12 kB / 0.7361 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2107, allocations: 0 / 0.7361 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.2107, allocations: 7.984 kB / 0.7361 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2107, allocations: 0 / 0.7361 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.2107, allocations: 7.938 kB / 0.7361 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006139/0.2114, allocations: 410.7 kB / 0.7365 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.2114, allocations: 11.91 kB / 0.7365 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.2114, allocations: 8 kB / 0.7365 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.2115, allocations: 7.984 kB / 0.7365 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.2116, allocations: 15.91 kB / 0.7365 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.2116, allocations: 11.94 kB / 0.7366 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001133/0.2117, allocations: 128.1 kB / 0.7367 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2117, allocations: 4 kB / 0.7367 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002972/0.212, allocations: 39.94 kB / 0.7367 GB, free: 8.191 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.001112/0.2131, allocations: 0.9635 MB / 0.7377 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005354/0.2137, allocations: 353.4 kB / 0.738 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2137, allocations: 0 / 0.738 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.2139, allocations: 178.8 kB / 0.7382 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.2142, allocations: 24.42 kB / 0.7382 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.2172, allocations: 2.124 MB / 0.7403 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.2175, allocations: 0.7157 MB / 0.741 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.891e-05/0.2176, allocations: 20.47 kB / 0.741 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.2177, allocations: 39.42 kB / 0.741 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.2177, allocations: 0 / 0.741 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.248, allocations: 3.837 MB / 0.7448 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.32, allocations: 0 / 0.7448 GB, free: 15.84 MB / 0.5762 GB " [Timeout remaining time 649] (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.33111587899839] Failed to read output from testmodel.py, exit status != 0: 11.426987166996696 11.45681106 11.247724432 Calling exit ...