Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.Examples.JSONWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 111.3 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 249.4 MB, free: 3.262 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.756/2.756, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.JSONWriter,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_JSONWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.JSONWriter,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_JSONWriter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 67.89 kB / 1.107 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9922/0.9944, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.002824/0.9972, allocations: 1.674 MB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008771/0.9981, allocations: 0.5524 MB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.375e-05/0.9982, allocations: 6.781 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.9984, allocations: 27.84 kB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.9986, allocations: 65.09 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.9988, allocations: 66.02 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.999, allocations: 134.1 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.9992, allocations: 37.22 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.9993, allocations: 55 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.9994, allocations: 67.25 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.9995, allocations: 7.406 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.755e-05/0.9995, allocations: 26.11 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.179e-05/0.9996, allocations: 44.78 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.997e-05/0.9997, allocations: 64.91 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.9999, allocations: 143.2 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.9999, allocations: 2.016 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9999, allocations: 5 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.9999, allocations: 0 / 1.274 GB, free: 5.812 MB / 0.9981 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.0005554/1, allocations: 472 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/1, allocations: 8.906 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/1.001, allocations: 38.66 kB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/1.001, allocations: 25.7 kB / 1.275 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/1.001, allocations: 243.5 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/1.001, allocations: 3 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/1.001, allocations: 8.625 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/1.001, allocations: 110.6 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/1.001, allocations: 0 / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/1.001, allocations: 4.875 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/1.001, allocations: 3.141 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/1.001, allocations: 63.77 kB / 1.275 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005202/1.002, allocations: 384.1 kB / 1.276 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/1.002, allocations: 39.5 kB / 1.276 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/1.002, allocations: 31.84 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/1.002, allocations: 0.8125 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/1.002, allocations: 97.38 kB / 1.276 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/1.002, allocations: 0.6562 kB / 1.276 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0004345/1.003, allocations: 125.3 kB / 1.276 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/1.003, allocations: 78.42 kB / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/1.003, allocations: 257.9 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/1.003, allocations: 26.7 kB / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/1.003, allocations: 129.3 kB / 1.276 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/1.003, allocations: 4.984 kB / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/1.003, allocations: 14.72 kB / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.431e-05/1.003, allocations: 332.5 kB / 1.277 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/1.003, allocations: 24.58 kB / 1.277 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/1.004, allocations: 50.77 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/1.004, allocations: 69.5 kB / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.004, allocations: 4.656 kB / 1.277 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000256/1.004, allocations: 106.1 kB / 1.277 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/1.004, allocations: 9.125 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/1.004, allocations: 0.9375 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/1.004, allocations: 5.5 kB / 1.277 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/1.004, allocations: 12.28 kB / 1.277 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/1.004, allocations: 5.906 kB / 1.277 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.564e-05/1.004, allocations: 14.03 kB / 1.277 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/1.004, allocations: 2.594 kB / 1.277 GB, free: 3.625 MB / 0.9981 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 7.909e-05/1.004, allocations: 127.2 kB / 1.277 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/1.004, allocations: 24.27 kB / 1.277 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.66e-05/1.004, allocations: 30 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/1.004, allocations: 0.8438 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.004, allocations: 5.094 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/1.004, allocations: 0 / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/1.005, allocations: 210.6 kB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.005, allocations: 0 / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.507e-05/1.005, allocations: 10.66 kB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.005, allocations: 0.9688 kB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/1.005, allocations: 4.641 kB / 1.277 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/1.005, allocations: 4.719 kB / 1.277 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.005, allocations: 1.219 kB / 1.277 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/1.005, allocations: 125.9 kB / 1.278 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/1.005, allocations: 89.3 kB / 1.278 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/1.005, allocations: 4.906 kB / 1.278 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.064e-05/1.005, allocations: 18.78 kB / 1.278 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/1.005, allocations: 2.531 kB / 1.278 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/1.005, allocations: 9.797 kB / 1.278 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001662/1.005, allocations: 188.7 kB / 1.278 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.005, allocations: 0 / 1.278 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002182/1.005, allocations: 21.27 kB / 1.278 GB, free: 2.934 MB / 0.9981 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.0005883/1.006, allocations: 0.6836 MB / 1.279 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002868/1.006, allocations: 71.28 kB / 1.279 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.006, allocations: 0 / 1.279 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/1.006, allocations: 27.2 kB / 1.279 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/1.007, allocations: 41.45 kB / 1.279 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/1.009, allocations: 1.756 MB / 1.28 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/1.009, allocations: 0.732 MB / 1.281 GB, free: 16.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.386e-05/1.009, allocations: 16.47 kB / 1.281 GB, free: 16.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.459e-05/1.009, allocations: 41 kB / 1.281 GB, free: 16.18 MB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/1.009, allocations: 0.9375 kB / 1.281 GB, free: 16.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/1.037, allocations: 3.61 MB / 1.285 GB, free: 15.61 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.258/9.295, allocations: 5.203 kB / 1.285 GB, free: 15.6 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.JSONWriter.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.IO.Files.Examples.JSONWriter_res.csv --start-time 0 --stop-time 2 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_IO_Files_Examples_JSONWriter.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.17219222302083] Failed to read output from testmodel.py, exit status != 0: 9.368788176012458 9.390553658 8.386624373 Calling exit ...