Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.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.001298/0.001298, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.001538/0.001538, allocations: 221.7 kB / 23 MB, free: 5.074 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.9575/0.9575, allocations: 150 MB / 463.2 MB, free: 10.5 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.JSONWriter,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_JSONWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.JSONWriter,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_JSONWriter",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.002016/0.002016, allocations: 71.47 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1901, allocations: 89.17 MB / 0.7283 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.003163/0.1933, allocations: 1.67 MB / 0.73 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1944, allocations: 0.6311 MB / 0.7306 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.736e-05/0.1945, allocations: 7.938 kB / 0.7306 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.1947, allocations: 23.78 kB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.1949, allocations: 67.66 kB / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.1951, allocations: 79.84 kB / 0.7308 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.1953, allocations: 127.6 kB / 0.7309 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.1955, allocations: 37.94 kB / 0.7309 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.1956, allocations: 67.77 kB / 0.731 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.1958, allocations: 67.69 kB / 0.731 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.1958, allocations: 8 kB / 0.731 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.1959, allocations: 27.94 kB / 0.7311 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.601e-05/0.196, allocations: 51.81 kB / 0.7311 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.543e-05/0.196, allocations: 55.61 kB / 0.7312 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.1963, allocations: 155.2 kB / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1963, allocations: 0 / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1963, allocations: 0 / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.1963, allocations: 4 kB / 0.7313 GB, free: 14.21 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006707/0.197, allocations: 401.3 kB / 0.7317 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.197, allocations: 12.03 kB / 0.7317 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.795e-05/0.197, allocations: 30.75 kB / 0.7318 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.1972, allocations: 32.83 kB / 0.7318 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.1975, allocations: 190 kB / 0.732 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-06/0.1975, allocations: 8.312 kB / 0.732 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.1976, allocations: 8.375 kB / 0.732 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.1979, allocations: 113.8 kB / 0.7321 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1979, allocations: 0 / 0.7321 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.1979, allocations: 8 kB / 0.7321 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1979, allocations: 0 / 0.7321 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.1981, allocations: 63.94 kB / 0.7322 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/0.1987, allocations: 343.7 kB / 0.7325 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.1989, allocations: 38.55 kB / 0.7325 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.199, allocations: 40.83 kB / 0.7326 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.199, allocations: 0 / 0.7326 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.1992, allocations: 89.09 kB / 0.7326 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.1992, allocations: 0 / 0.7326 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004397/0.1997, allocations: 137.4 kB / 0.7328 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.1997, allocations: 81.05 kB / 0.7329 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.2, allocations: 260.9 kB / 0.7331 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.2, allocations: 25.7 kB / 0.7331 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.849e-05/0.2001, allocations: 132.1 kB / 0.7333 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.2001, allocations: 7.938 kB / 0.7333 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.2002, allocations: 17.72 kB / 0.7333 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2003, allocations: 334.8 kB / 0.7336 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.2004, allocations: 15.98 kB / 0.7336 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.2005, allocations: 47.41 kB / 0.7337 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.2008, allocations: 78.48 kB / 0.7337 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2008, allocations: 0 / 0.7337 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003028/0.2011, allocations: 105.4 kB / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2011, allocations: 8.094 kB / 0.7338 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2011, allocations: 0 / 0.7338 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2011, allocations: 7.938 kB / 0.7338 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.2012, allocations: 11.98 kB / 0.7339 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2012, allocations: 3.984 kB / 0.7339 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.036e-05/0.2013, allocations: 15.92 kB / 0.7339 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.2013, allocations: 0 / 0.7339 GB, free: 11.36 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001223/0.2014, allocations: 131.8 kB / 0.734 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.2015, allocations: 27.8 kB / 0.734 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.2015, allocations: 21.27 kB / 0.7341 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2015, allocations: 0 / 0.7341 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2015, allocations: 4 kB / 0.7341 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2015, allocations: 0 / 0.7341 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.2017, allocations: 184.7 kB / 0.7342 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2017, allocations: 0 / 0.7342 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.073e-05/0.2018, allocations: 15.92 kB / 0.7342 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.2018, allocations: 0 / 0.7342 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.2018, allocations: 7.938 kB / 0.7343 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2018, allocations: 4 kB / 0.7343 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2018, allocations: 0 / 0.7343 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.2021, allocations: 121 kB / 0.7344 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.456e-05/0.2021, allocations: 11.91 kB / 0.7344 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.2021, allocations: 7.938 kB / 0.7344 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.071e-05/0.2022, allocations: 19.98 kB / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.2022, allocations: 0 / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.2023, allocations: 7.984 kB / 0.7344 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001888/0.2025, allocations: 192.5 kB / 0.7346 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2025, allocations: 0 / 0.7346 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002283/0.2027, allocations: 23.95 kB / 0.7346 GB, free: 10.54 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.000719/0.2034, allocations: 0.6764 MB / 0.7353 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002935/0.2037, allocations: 67.8 kB / 0.7354 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2037, allocations: 0 / 0.7354 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.2038, allocations: 23.98 kB / 0.7354 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.2041, allocations: 43.72 kB / 0.7354 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.2064, allocations: 1.755 MB / 0.7371 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.2068, allocations: 0.7197 MB / 0.7378 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.203e-05/0.2069, allocations: 20.47 kB / 0.7379 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.006e-05/0.207, allocations: 39.42 kB / 0.7379 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.207, allocations: 0 / 0.7379 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/0.2382, allocations: 3.768 MB / 0.7416 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.62, allocations: 0.9375 kB / 0.7416 GB, free: 3.434 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_JSONWriter.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.388060254001175] Failed to read output from testmodel.py, exit status != 0: 11.728781022997282 11.744204061 11.544870162 Calling exit ...