Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009606/0.0009606, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 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.001206/0.001206, allocations: 214.8 kB / 23.03 MB, free: 2.969 MB / 13.93 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 0.9792/0.9792, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.048/2.048, allocations: 0.5045 GB / 0.8104 GB, free: 2.754 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.IO.Files.Examples.JSONWriter,fileNamePrefix="Buildings_13_Buildings_Utilities_IO_Files_Examples_JSONWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.JSONWriter,fileNamePrefix="Buildings_13_Buildings_Utilities_IO_Files_Examples_JSONWriter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 75.88 kB / 1.177 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7458/0.7469, allocations: 180 MB / 1.352 GB, free: 1.688 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.002298/0.7492, allocations: 1.646 MB / 1.354 GB, free: 32 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0007434/0.75, allocations: 0.5806 MB / 1.355 GB, free: 15.45 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.701e-05/0.7501, allocations: 7.875 kB / 1.355 GB, free: 15.44 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.7502, allocations: 31.72 kB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.7505, allocations: 60.61 kB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.7506, allocations: 75.84 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.7508, allocations: 135.5 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.7509, allocations: 35.91 kB / 1.355 GB, free: 15.11 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.7511, allocations: 59.72 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.334e-05/0.7512, allocations: 63.69 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.7512, allocations: 8 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.309e-05/0.7513, allocations: 31.98 kB / 1.355 GB, free: 14.95 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 7.548e-05/0.7513, allocations: 51.77 kB / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.7514, allocations: 39.73 kB / 1.355 GB, free: 14.86 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.7516, allocations: 155.2 kB / 1.355 GB, free: 14.7 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.7516, allocations: 4 kB / 1.355 GB, free: 14.7 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7516, allocations: 0 / 1.355 GB, free: 14.7 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.7516, allocations: 0 / 1.355 GB, free: 14.7 MB / 1.042 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.0004766/0.7521, allocations: 399 kB / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.7521, allocations: 8.922 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.7521, allocations: 42.73 kB / 1.356 GB, free: 14.22 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.7522, allocations: 32.73 kB / 1.356 GB, free: 14.19 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.7525, allocations: 189.8 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.7525, allocations: 4.375 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.7525, allocations: 8.312 kB / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.7527, allocations: 169.1 kB / 1.356 GB, free: 13.79 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.7527, allocations: 0 / 1.356 GB, free: 13.79 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.7528, allocations: 4 kB / 1.356 GB, free: 13.78 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.7528, allocations: 0 / 1.356 GB, free: 13.78 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.7529, allocations: 64.94 kB / 1.356 GB, free: 13.72 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.7533, allocations: 343.6 kB / 1.357 GB, free: 13.34 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.401e-05/0.7534, allocations: 38.55 kB / 1.357 GB, free: 13.29 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/0.7534, allocations: 32.89 kB / 1.357 GB, free: 13.26 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.7534, allocations: 0 / 1.357 GB, free: 13.26 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.7536, allocations: 148.4 kB / 1.357 GB, free: 13.08 MB / 1.042 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.7536, allocations: 4 kB / 1.357 GB, free: 13.08 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.0002548/0.7539, allocations: 125.5 kB / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.7539, allocations: 77.11 kB / 1.357 GB, free: 12.86 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.7541, allocations: 264.9 kB / 1.357 GB, free: 12.59 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.7541, allocations: 25.7 kB / 1.357 GB, free: 12.55 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.7542, allocations: 132 kB / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.7542, allocations: 3.953 kB / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.7542, allocations: 17.72 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.178e-05/0.7543, allocations: 334.8 kB / 1.358 GB, free: 12.06 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.308e-05/0.7544, allocations: 19.98 kB / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.7546, allocations: 77.05 kB / 1.358 GB, free: 11.95 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.7547, allocations: 66.52 kB / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7547, allocations: 7.938 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001469/0.7548, allocations: 105.8 kB / 1.358 GB, free: 11.75 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.7549, allocations: 4 kB / 1.358 GB, free: 11.75 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.7549, allocations: 0 / 1.358 GB, free: 11.75 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.7549, allocations: 7.938 kB / 1.358 GB, free: 11.74 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.091e-05/0.7549, allocations: 15.92 kB / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.7549, allocations: 0 / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.3e-05/0.755, allocations: 20.03 kB / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.755, allocations: 3.984 kB / 1.358 GB, free: 11.7 MB / 1.042 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.415e-05/0.7551, allocations: 130.4 kB / 1.358 GB, free: 11.57 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.7551, allocations: 15.91 kB / 1.358 GB, free: 11.55 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.7551, allocations: 21.27 kB / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.7551, allocations: 4 kB / 1.358 GB, free: 11.52 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.7551, allocations: 0 / 1.358 GB, free: 11.52 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.7551, allocations: 0 / 1.358 GB, free: 11.52 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.7552, allocations: 172.7 kB / 1.358 GB, free: 11.31 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.7552, allocations: 4 kB / 1.358 GB, free: 11.31 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.7553, allocations: 11.98 kB / 1.358 GB, free: 11.3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.7553, allocations: 4 kB / 1.358 GB, free: 11.29 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.7553, allocations: 7.875 kB / 1.358 GB, free: 11.29 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.7553, allocations: 0 / 1.358 GB, free: 11.29 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.7553, allocations: 0 / 1.358 GB, free: 11.29 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.7554, allocations: 128.9 kB / 1.358 GB, free: 11.14 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.7554, allocations: 15.84 kB / 1.358 GB, free: 11.12 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.7555, allocations: 7.938 kB / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.416e-05/0.7555, allocations: 15.98 kB / 1.359 GB, free: 11.1 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.7555, allocations: 3.984 kB / 1.359 GB, free: 11.1 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.7555, allocations: 4 kB / 1.359 GB, free: 11.09 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001126/0.7557, allocations: 196.5 kB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7557, allocations: 0 / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001469/0.7558, allocations: 16 kB / 1.359 GB, free: 10.89 MB / 1.042 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.0004441/0.7562, allocations: 0.6762 MB / 1.359 GB, free: 10.19 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001634/0.7564, allocations: 63.81 kB / 1.359 GB, free: 10.13 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7564, allocations: 3.984 kB / 1.359 GB, free: 10.12 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.344e-05/0.7565, allocations: 32.16 kB / 1.359 GB, free: 10.09 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.7567, allocations: 40.81 kB / 1.36 GB, free: 10.06 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.7581, allocations: 1.765 MB / 1.361 GB, free: 8.188 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.676e-05/0.7582, allocations: 106.1 kB / 1.361 GB, free: 8.066 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 5.372e-05/0.7583, allocations: 12.48 kB / 1.361 GB, free: 8.055 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.519e-05/0.7583, allocations: 47.41 kB / 1.361 GB, free: 8.008 MB / 1.042 GB Notification: Performance of SimCode: time 8.02e-07/0.7583, allocations: 0 / 1.361 GB, free: 8.008 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0806/0.8389, allocations: 4.286 MB / 1.366 GB, free: 3.895 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.1/7.938, allocations: 10.73 kB / 1.366 GB, free: 3.887 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_IO_Files_Examples_JSONWriter_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_IO_Files_Examples_JSONWriter.fmu) > Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter_fmpy_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ../Buildings_13_Buildings_Utilities_IO_Files_Examples_JSONWriter.fmu) > Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.999969005584717]