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.001279/0.001279, 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.001582/0.001582, allocations: 211.4 kB / 22.99 MB, free: 4.609 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9818/0.9818, allocations: 149.9 MB / 463.1 MB, free: 10.32 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.002312/0.002312, allocations: 68.39 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.184, allocations: 89.17 MB / 0.7281 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.003603/0.1876, allocations: 1.63 MB / 0.7297 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.1889, allocations: 0.5923 MB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.189, allocations: 3.938 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.1892, allocations: 19.8 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.1896, allocations: 66.3 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.1899, allocations: 75.84 kB / 0.7305 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.1901, allocations: 143.5 kB / 0.7306 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.1903, allocations: 29.95 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.1905, allocations: 71.7 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.1907, allocations: 63.69 kB / 0.7308 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.1907, allocations: 8 kB / 0.7308 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1908, allocations: 27.98 kB / 0.7308 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.1909, allocations: 39.84 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.693e-05/0.191, allocations: 47.72 kB / 0.7309 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.1913, allocations: 155.2 kB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1913, allocations: 0 / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.804e-06/0.1913, allocations: 0 / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.1913, allocations: 4 kB / 0.731 GB, free: 14.07 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.0007856/0.1921, allocations: 409.2 kB / 0.7314 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1921, allocations: 8.031 kB / 0.7314 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.198e-05/0.1922, allocations: 38.75 kB / 0.7315 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.1924, allocations: 24.83 kB / 0.7315 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.1928, allocations: 194 kB / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.1928, allocations: 4.375 kB / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.1928, allocations: 8.375 kB / 0.7317 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.1932, allocations: 161.2 kB / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1932, allocations: 0 / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.1932, allocations: 8 kB / 0.7319 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1932, allocations: 0 / 0.7319 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002406/0.1934, allocations: 63.88 kB / 0.7319 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006714/0.1941, allocations: 347.7 kB / 0.7322 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.1942, allocations: 34.5 kB / 0.7323 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.1944, allocations: 32.89 kB / 0.7323 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.1944, allocations: 0 / 0.7323 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002948/0.1947, allocations: 148.5 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1947, allocations: 0 / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004774/0.1951, allocations: 129.4 kB / 0.7326 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.1952, allocations: 77.11 kB / 0.7326 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.1955, allocations: 256.9 kB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.1956, allocations: 33.69 kB / 0.7329 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.1957, allocations: 124.1 kB / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.1957, allocations: 3.953 kB / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.1957, allocations: 21.7 kB / 0.7331 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1959, allocations: 334.8 kB / 0.7334 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.196, allocations: 23.97 kB / 0.7334 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.1962, allocations: 77.11 kB / 0.7335 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.1964, allocations: 62.47 kB / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1964, allocations: 7.969 kB / 0.7335 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003077/0.1967, allocations: 109.4 kB / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1967, allocations: 4 kB / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1967, allocations: 0 / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1967, allocations: 3.938 kB / 0.7337 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1968, allocations: 11.98 kB / 0.7337 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1968, allocations: 8.094 kB / 0.7337 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.197, allocations: 15.92 kB / 0.7337 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.197, allocations: 0 / 0.7337 GB, free: 11.08 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.0001274/0.1971, allocations: 133.8 kB / 0.7338 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.1971, allocations: 19.86 kB / 0.7338 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.053e-05/0.1972, allocations: 25.27 kB / 0.7339 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1972, allocations: 0 / 0.7339 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.1972, allocations: 4 kB / 0.7339 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1972, allocations: 0 / 0.7339 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.1974, allocations: 168.7 kB / 0.734 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1974, allocations: 4 kB / 0.734 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.317e-05/0.1975, allocations: 11.98 kB / 0.734 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1975, allocations: 0 / 0.734 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.1975, allocations: 7.938 kB / 0.7341 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1975, allocations: 0 / 0.7341 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1975, allocations: 0 / 0.7341 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.1979, allocations: 121 kB / 0.7342 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.1979, allocations: 15.91 kB / 0.7342 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.1979, allocations: 7.938 kB / 0.7342 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.762e-05/0.198, allocations: 15.92 kB / 0.7342 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.198, allocations: 336 / 0.7342 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.1981, allocations: 11.98 kB / 0.7342 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002101/0.1983, allocations: 192.5 kB / 0.7344 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1983, allocations: 0 / 0.7344 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002311/0.1985, allocations: 23.95 kB / 0.7344 GB, free: 10.27 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.0008606/0.1994, allocations: 0.6889 MB / 0.7351 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003071/0.1997, allocations: 59.81 kB / 0.7352 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1997, allocations: 4.188 kB / 0.7352 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.1998, allocations: 27.98 kB / 0.7352 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.2001, allocations: 37.38 kB / 0.7352 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.2027, allocations: 1.76 MB / 0.7369 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.2028, allocations: 98.14 kB / 0.737 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.958e-05/0.2029, allocations: 20.55 kB / 0.7371 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.037e-05/0.203, allocations: 47.42 kB / 0.7371 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of SimCode: time 7.52e-07/0.203, allocations: 0 / 0.7371 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03432/0.2373, allocations: 4.271 MB / 0.7413 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.63, allocations: 7.047 kB / 0.7413 GB, free: 3.285 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 sys.exit(0), Time elapsed: 15.348041963297874] Failed to read output from testmodel.py, exit status != 0: 11.735059776809067 11.749262136 11.554973358 Calling exit ...