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.001319/0.001319, allocations: 109 kB / 20.48 MB, free: 1.465 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.001481/0.001481, allocations: 213.8 kB / 23.79 MB, free: 4.676 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.522/1.522, allocations: 230.6 MB / 257.6 MB, free: 7.961 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.9658/0.9658, allocations: 150 MB / 464 MB, free: 10.47 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.002253/0.002253, allocations: 66.27 kB / 0.642 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1824, allocations: 89.16 MB / 0.7291 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.003273/0.1857, allocations: 1.686 MB / 0.7307 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.1869, allocations: 0.6273 MB / 0.7313 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.802e-05/0.187, allocations: 3.938 kB / 0.7313 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.1872, allocations: 27.78 kB / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.1875, allocations: 67.3 kB / 0.7314 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.1877, allocations: 75.84 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.1879, allocations: 139.5 kB / 0.7316 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1881, allocations: 29.95 kB / 0.7317 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.1883, allocations: 67.77 kB / 0.7317 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.1884, allocations: 67.64 kB / 0.7318 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.1884, allocations: 8 kB / 0.7318 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.162e-05/0.1885, allocations: 27.98 kB / 0.7318 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.56e-05/0.1886, allocations: 47.83 kB / 0.7319 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.885e-05/0.1887, allocations: 55.61 kB / 0.7319 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.1889, allocations: 155.2 kB / 0.7321 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1889, allocations: 0 / 0.7321 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1889, allocations: 0 / 0.7321 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.1889, allocations: 0 / 0.7321 GB, free: 14.2 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.0006941/0.1896, allocations: 413.2 kB / 0.7325 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1897, allocations: 12.03 kB / 0.7325 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.562e-05/0.1897, allocations: 192 / 0.7325 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.262e-05/0.1897, allocations: 42.73 kB / 0.7325 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.1899, allocations: 20.84 kB / 0.7326 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.1903, allocations: 198 kB / 0.7327 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1903, allocations: 4.375 kB / 0.7327 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.1903, allocations: 4.375 kB / 0.7327 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.1906, allocations: 113.6 kB / 0.7329 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.1906, allocations: 0 / 0.7329 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.1906, allocations: 4 kB / 0.7329 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1906, allocations: 4 kB / 0.7329 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.1909, allocations: 67.88 kB / 0.7329 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006401/0.1915, allocations: 351.7 kB / 0.7333 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.1916, allocations: 38.5 kB / 0.7333 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.1918, allocations: 28.89 kB / 0.7333 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.1918, allocations: 3.984 kB / 0.7333 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002536/0.192, allocations: 101.1 kB / 0.7334 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.192, allocations: 0 / 0.7334 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004772/0.1925, allocations: 125.4 kB / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.1926, allocations: 81.11 kB / 0.7336 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.1929, allocations: 256.9 kB / 0.7339 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.1929, allocations: 25.7 kB / 0.7339 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.193, allocations: 128.1 kB / 0.734 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.193, allocations: 7.953 kB / 0.734 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.1931, allocations: 13.72 kB / 0.734 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1933, allocations: 338.8 kB / 0.7344 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.1934, allocations: 19.97 kB / 0.7344 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.1935, allocations: 51.41 kB / 0.7344 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.1937, allocations: 66.5 kB / 0.7345 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1937, allocations: 0 / 0.7345 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003152/0.194, allocations: 105.4 kB / 0.7346 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1941, allocations: 14.59 kB / 0.7346 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1941, allocations: 3.938 kB / 0.7346 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1941, allocations: 0 / 0.7346 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.1942, allocations: 15.92 kB / 0.7346 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1942, allocations: 4 kB / 0.7346 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.658e-05/0.1943, allocations: 11.92 kB / 0.7346 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1943, allocations: 4 kB / 0.7346 GB, free: 11.35 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.0001236/0.1944, allocations: 129.8 kB / 0.7348 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.1945, allocations: 23.86 kB / 0.7348 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.1945, allocations: 29.27 kB / 0.7348 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1945, allocations: 7.875 kB / 0.7348 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1945, allocations: 0 / 0.7348 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1945, allocations: 0 / 0.7348 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.1947, allocations: 184.7 kB / 0.735 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1947, allocations: 0 / 0.735 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.213e-05/0.1948, allocations: 11.98 kB / 0.735 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1948, allocations: 0 / 0.735 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1948, allocations: 7.922 kB / 0.735 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1948, allocations: 4 kB / 0.735 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1948, allocations: 0 / 0.735 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.1952, allocations: 121 kB / 0.7351 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.1952, allocations: 11.91 kB / 0.7352 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.1952, allocations: 11.94 kB / 0.7352 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.939e-05/0.1953, allocations: 11.98 kB / 0.7352 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.1953, allocations: 7.984 kB / 0.7352 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.1954, allocations: 4 kB / 0.7352 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002144/0.1956, allocations: 196.4 kB / 0.7354 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1956, allocations: 0 / 0.7354 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002332/0.1958, allocations: 19.95 kB / 0.7354 GB, free: 10.52 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.0008182/0.1966, allocations: 0.6798 MB / 0.7361 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003579/0.197, allocations: 59.88 kB / 0.7361 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.197, allocations: 4 kB / 0.7361 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.1971, allocations: 27.91 kB / 0.7361 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.1974, allocations: 39.14 kB / 0.7362 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.2, allocations: 1.761 MB / 0.7379 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.2004, allocations: 0.7197 MB / 0.7386 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.839e-05/0.2005, allocations: 20.55 kB / 0.7386 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.699e-05/0.2006, allocations: 39.42 kB / 0.7387 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/0.2006, allocations: 0 / 0.7387 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.2283, allocations: 3.797 MB / 0.7424 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.58, allocations: 8.047 kB / 0.7424 GB, free: 3.391 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.477799231011886] Failed to read output from testmodel.py, exit status != 0: 11.7415709150373 11.76401696 11.571759239 Calling exit ...