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.001689/0.001689, allocations: 101.9 kB / 20.49 MB, free: 1.238 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.002117/0.002117, allocations: 216.2 kB / 23.78 MB, free: 4.145 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.536/1.536, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.9693/0.9693, allocations: 150 MB / 464 MB, free: 10.23 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.JSONWriter,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_JSONWriter",fmuType="cs",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.002068/0.002068, allocations: 58.67 kB / 0.6419 GB, free: 9.957 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.185, allocations: 89.18 MB / 0.729 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.004208/0.1892, allocations: 1.622 MB / 0.7306 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1907, allocations: 0.5806 MB / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.1908, allocations: 7.938 kB / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.191, allocations: 23.73 kB / 0.7312 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.1914, allocations: 63.36 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.1918, allocations: 79.84 kB / 0.7313 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.1921, allocations: 139.5 kB / 0.7315 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.1923, allocations: 29.67 kB / 0.7315 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.1925, allocations: 71.7 kB / 0.7316 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.1927, allocations: 67.69 kB / 0.7316 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.1927, allocations: 8 kB / 0.7316 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.75e-05/0.1928, allocations: 27.98 kB / 0.7317 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.1929, allocations: 43.84 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.313e-05/0.193, allocations: 51.59 kB / 0.7318 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.1933, allocations: 147.6 kB / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1933, allocations: 4 kB / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1933, allocations: 0 / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.1933, allocations: 0 / 0.7319 GB, free: 13.88 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.0007761/0.194, allocations: 417.2 kB / 0.7323 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1941, allocations: 8.031 kB / 0.7323 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.546e-05/0.1941, allocations: 4.188 kB / 0.7323 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.158e-05/0.1941, allocations: 34.75 kB / 0.7323 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.1943, allocations: 28.83 kB / 0.7324 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.1947, allocations: 186.1 kB / 0.7326 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1948, allocations: 12.31 kB / 0.7326 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.1948, allocations: 4.375 kB / 0.7326 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.1952, allocations: 168.9 kB / 0.7327 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.1952, allocations: 0 / 0.7327 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.1952, allocations: 7.984 kB / 0.7327 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1952, allocations: 0 / 0.7327 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.1955, allocations: 67.88 kB / 0.7328 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000637/0.1961, allocations: 335.7 kB / 0.7331 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.1963, allocations: 42.55 kB / 0.7332 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.1964, allocations: 24.91 kB / 0.7332 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.1964, allocations: 0 / 0.7332 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002975/0.1967, allocations: 156.4 kB / 0.7333 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 3.115e-06/0.1967, allocations: 3.984 kB / 0.7333 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004497/0.1972, allocations: 117.5 kB / 0.7335 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.1972, allocations: 81.11 kB / 0.7335 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.1975, allocations: 260.9 kB / 0.7338 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.1976, allocations: 29.7 kB / 0.7338 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.1978, allocations: 124.1 kB / 0.7339 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.1978, allocations: 11.95 kB / 0.7339 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.1979, allocations: 17.7 kB / 0.734 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002748/0.1981, allocations: 326.8 kB / 0.7343 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.1983, allocations: 23.97 kB / 0.7343 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.1984, allocations: 77.05 kB / 0.7344 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.1986, allocations: 70.56 kB / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1986, allocations: 0 / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003008/0.1989, allocations: 101.4 kB / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.199, allocations: 4 kB / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.199, allocations: 12.03 kB / 0.7345 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.199, allocations: 0 / 0.7345 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.1991, allocations: 19.92 kB / 0.7346 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.1991, allocations: 3.984 kB / 0.7346 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.448e-05/0.1992, allocations: 15.92 kB / 0.7346 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1992, allocations: 0 / 0.7346 GB, free: 10.88 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.000262/0.1995, allocations: 127.8 kB / 0.7347 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.1995, allocations: 23.86 kB / 0.7347 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.242e-05/0.1995, allocations: 25.27 kB / 0.7347 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1995, allocations: 4 kB / 0.7348 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1995, allocations: 0 / 0.7348 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1996, allocations: 0 / 0.7348 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.1998, allocations: 176.7 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1999, allocations: 3.938 kB / 0.7349 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-05/0.1999, allocations: 11.98 kB / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1999, allocations: 3.938 kB / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1999, allocations: 3.938 kB / 0.7349 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1999, allocations: 0 / 0.7349 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1999, allocations: 0 / 0.7349 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.2003, allocations: 132.9 kB / 0.7351 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.492e-05/0.2003, allocations: 11.91 kB / 0.7351 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.2003, allocations: 11.94 kB / 0.7351 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.227e-05/0.2004, allocations: 7.984 kB / 0.7351 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.2004, allocations: 11.98 kB / 0.7351 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.2005, allocations: 4 kB / 0.7351 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001911/0.2007, allocations: 188.5 kB / 0.7353 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2007, allocations: 0 / 0.7353 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002408/0.2009, allocations: 27.95 kB / 0.7353 GB, free: 10.05 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.000802/0.2017, allocations: 0.6838 MB / 0.736 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003122/0.202, allocations: 59.94 kB / 0.736 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.202, allocations: 0 / 0.736 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.2021, allocations: 27.97 kB / 0.7361 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.2024, allocations: 42.38 kB / 0.7361 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.2055, allocations: 1.753 MB / 0.7378 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.2057, allocations: 110.1 kB / 0.7379 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.789e-05/0.2058, allocations: 20.48 kB / 0.7379 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.387e-05/0.2059, allocations: 39.42 kB / 0.738 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.2059, allocations: 0 / 0.738 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.2336, allocations: 3.916 MB / 0.7418 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/11.91, allocations: 8.656 kB / 0.7418 GB, free: 3.438 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_JSONWriter_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_JSONWriter.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.751667503034696] Failed to read output from testmodel.py, exit status != 0: 12.078459382988513 12.106371167 11.907902209 Calling exit ...