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.001224/0.001224, allocations: 112 kB / 17.12 MB, free: 6.008 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.001376/0.001376, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.013/1.013, allocations: 150 MB / 459.5 MB, free: 5.746 MB / 350.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.002125/0.002125, allocations: 73.14 kB / 0.6361 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1637, allocations: 89.13 MB / 0.7231 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.003571/0.1673, allocations: 1.662 MB / 0.7248 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.1685, allocations: 0.6234 MB / 0.7254 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1686, allocations: 7.938 kB / 0.7254 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.1688, allocations: 23.8 kB / 0.7254 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.1691, allocations: 59.67 kB / 0.7255 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.1693, allocations: 83.84 kB / 0.7255 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.1696, allocations: 135.5 kB / 0.7257 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.1697, allocations: 33.77 kB / 0.7257 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.1699, allocations: 71.7 kB / 0.7258 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.17, allocations: 63.7 kB / 0.7258 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.1701, allocations: 8 kB / 0.7258 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.624e-05/0.1702, allocations: 23.98 kB / 0.7259 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.996e-05/0.1702, allocations: 43.83 kB / 0.7259 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.864e-05/0.1703, allocations: 67.59 kB / 0.726 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.1706, allocations: 151.2 kB / 0.7261 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1706, allocations: 0 / 0.7261 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1706, allocations: 4 kB / 0.7261 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.1706, allocations: 0 / 0.7261 GB, free: 1.07 MB / 0.5294 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.0007053/0.1713, allocations: 476.2 kB / 0.7266 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1714, allocations: 11.97 kB / 0.7266 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.605e-05/0.1714, allocations: 42.73 kB / 0.7266 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.1716, allocations: 32.78 kB / 0.7266 GB, free: 476 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.172, allocations: 240 kB / 0.7269 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.172, allocations: 4.375 kB / 0.7269 GB, free: 192 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.172, allocations: 4.375 kB / 0.7269 GB, free: 188 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.1724, allocations: 121.2 kB / 0.727 GB, free: 64 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1724, allocations: 7.938 kB / 0.727 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1724, allocations: 0 / 0.727 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1724, allocations: 4 kB / 0.727 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.1727, allocations: 63.98 kB / 0.7271 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007101/0.1734, allocations: 380.5 kB / 0.7274 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.1735, allocations: 42.55 kB / 0.7275 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.1737, allocations: 24.89 kB / 0.7275 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.1738, allocations: 11.98 kB / 0.7275 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002662/0.174, allocations: 97.08 kB / 0.7276 GB, free: 15.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.174, allocations: 0 / 0.7276 GB, free: 15.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005111/0.1745, allocations: 121.3 kB / 0.7277 GB, free: 15.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.452e-05/0.1746, allocations: 81.11 kB / 0.7278 GB, free: 15.14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.1749, allocations: 260.9 kB / 0.728 GB, free: 14.88 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.175, allocations: 25.7 kB / 0.7281 GB, free: 14.85 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.1751, allocations: 132.1 kB / 0.7282 GB, free: 14.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.1751, allocations: 11.95 kB / 0.7282 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.1752, allocations: 13.72 kB / 0.7282 GB, free: 14.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.1753, allocations: 330.8 kB / 0.7285 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1755, allocations: 19.98 kB / 0.7286 GB, free: 14.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.1756, allocations: 51.41 kB / 0.7286 GB, free: 14.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.1758, allocations: 70.45 kB / 0.7287 GB, free: 14.19 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1758, allocations: 0 / 0.7287 GB, free: 14.19 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003269/0.1762, allocations: 113.4 kB / 0.7288 GB, free: 14.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1762, allocations: 5.719 kB / 0.7288 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1762, allocations: 0 / 0.7288 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1762, allocations: 7.938 kB / 0.7288 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1763, allocations: 11.98 kB / 0.7288 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1763, allocations: 7.938 kB / 0.7288 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.1764, allocations: 20.02 kB / 0.7288 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.1764, allocations: 4 kB / 0.7288 GB, free: 14.02 MB / 0.545 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.0001266/0.1766, allocations: 121.8 kB / 0.729 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.1766, allocations: 23.86 kB / 0.729 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.341e-05/0.1767, allocations: 25.17 kB / 0.729 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1767, allocations: 0 / 0.729 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1767, allocations: 0 / 0.729 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1767, allocations: 0 / 0.729 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.1769, allocations: 213.6 kB / 0.7292 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1769, allocations: 0 / 0.7292 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.306e-05/0.177, allocations: 15.98 kB / 0.7292 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.177, allocations: 0 / 0.7292 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.177, allocations: 3.938 kB / 0.7292 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.177, allocations: 0 / 0.7292 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.177, allocations: 0 / 0.7292 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.1773, allocations: 128.9 kB / 0.7293 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/0.1774, allocations: 93.02 kB / 0.7294 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.1774, allocations: 7.938 kB / 0.7294 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.1775, allocations: 7.984 kB / 0.7294 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.1775, allocations: 4 kB / 0.7295 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.1776, allocations: 7.984 kB / 0.7295 GB, free: 13.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002018/0.1778, allocations: 192.5 kB / 0.7296 GB, free: 13.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1778, allocations: 0 / 0.7296 GB, free: 13.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002252/0.178, allocations: 19.95 kB / 0.7297 GB, free: 13.08 MB / 0.545 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.001013/0.179, allocations: 0.6974 MB / 0.7303 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000313/0.1793, allocations: 63.81 kB / 0.7304 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1793, allocations: 3.938 kB / 0.7304 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.1794, allocations: 23.98 kB / 0.7304 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.1798, allocations: 47.42 kB / 0.7305 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.1825, allocations: 1.753 MB / 0.7322 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.183, allocations: 0.7158 MB / 0.7329 GB, free: 9.621 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.603e-05/0.1831, allocations: 12.55 kB / 0.7329 GB, free: 9.609 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.161e-05/0.1832, allocations: 43.42 kB / 0.7329 GB, free: 9.566 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.1832, allocations: 3.938 kB / 0.7329 GB, free: 9.562 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.2123, allocations: 3.657 MB / 0.7365 GB, free: 5.992 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.444/8.657, allocations: 8.469 kB / 0.7365 GB, free: 5.984 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.604552940931171] Failed to read output from testmodel.py, exit status != 0: 8.729811299126595 8.754397904 8.579005931 Calling exit ...