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.0008343/0.0008343, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.000893/0.000893, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.8816/0.8816, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.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 1.817/1.817, allocations: 389.6 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.323e-06/1.323e-06, allocations: 0 / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107e-05/1.239e-05, allocations: 2.281 kB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.001878/0.00189, allocations: 1.657 MB / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006833/0.002573, allocations: 0.5766 MB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.762e-05/0.002641, allocations: 3.938 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.002799, allocations: 31.77 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.003011, allocations: 71.55 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.003166, allocations: 75.78 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.003313, allocations: 135.5 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.003441, allocations: 33.66 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.00359, allocations: 79.73 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-05/0.003668, allocations: 51.83 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.00369, allocations: 11.98 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.642e-05/0.003747, allocations: 31.92 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.003874, allocations: 47.83 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.003912, allocations: 31.86 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.004091, allocations: 151.5 kB / 1.004 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.004094, allocations: 0 / 1.004 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004095, allocations: 0 / 1.004 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.004098, allocations: 0 / 1.004 GB, free: 10.55 MB / 0.9636 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.0004446/0.004543, allocations: 401.3 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.004579, allocations: 13.34 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.121e-05/0.00461, allocations: 34.75 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.004721, allocations: 28.83 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.004931, allocations: 185.3 kB / 1.004 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.00494, allocations: 4.375 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.004951, allocations: 16.31 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.005161, allocations: 161.1 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.005169, allocations: 4.188 kB / 1.004 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.005182, allocations: 12.06 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.005187, allocations: 0 / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.00531, allocations: 59.94 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.005695, allocations: 343.6 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.596e-05/0.005781, allocations: 38.55 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.968e-05/0.00584, allocations: 24.91 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.005851, allocations: 0 / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.006014, allocations: 156.4 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.006015, allocations: 0 / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.000257/0.006272, allocations: 121.5 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.006304, allocations: 81.11 kB / 1.005 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.006486, allocations: 261.7 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.006498, allocations: 25.7 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/0.006557, allocations: 124.1 kB / 1.006 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.006572, allocations: 11.89 kB / 1.006 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.006601, allocations: 21.7 kB / 1.006 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.835e-05/0.006679, allocations: 326.8 kB / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.875e-05/0.006738, allocations: 31.91 kB / 1.006 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-05/0.00681, allocations: 77.28 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.006923, allocations: 66.53 kB / 1.006 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006925, allocations: 0 / 1.006 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001439/0.007069, allocations: 105.5 kB / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.007079, allocations: 4 kB / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.007084, allocations: 11.88 kB / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.007095, allocations: 0 / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.007161, allocations: 11.98 kB / 1.006 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.007167, allocations: 7.922 kB / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.383e-05/0.007211, allocations: 16.05 kB / 1.006 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.007216, allocations: 0 / 1.006 GB, free: 7.566 MB / 0.9636 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.394e-05/0.00729, allocations: 132.5 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.007307, allocations: 19.89 kB / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.00733, allocations: 21.34 kB / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.007332, allocations: 0 / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.007335, allocations: 0 / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.007338, allocations: 3.938 kB / 1.006 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.73e-05/0.007435, allocations: 172.7 kB / 1.007 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.007436, allocations: 0 / 1.007 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.007469, allocations: 15.98 kB / 1.007 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.007471, allocations: 0 / 1.007 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.007476, allocations: 0 / 1.007 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.007477, allocations: 3.984 kB / 1.007 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.007478, allocations: 0 / 1.007 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.007635, allocations: 132.8 kB / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.007649, allocations: 11.91 kB / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.007664, allocations: 4 kB / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.673e-05/0.007701, allocations: 15.98 kB / 1.007 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.007734, allocations: 11.92 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.00775, allocations: 4 kB / 1.007 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001118/0.007861, allocations: 193.2 kB / 1.007 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007862, allocations: 0 / 1.007 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001499/0.008011, allocations: 19.94 kB / 1.007 GB, free: 6.754 MB / 0.9636 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.0003925/0.008404, allocations: 0.6803 MB / 1.008 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001537/0.008558, allocations: 51.94 kB / 1.008 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008559, allocations: 0 / 1.008 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.311e-05/0.008622, allocations: 36.28 kB / 1.008 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.008813, allocations: 54.77 kB / 1.008 GB, free: 5.91 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.01025, allocations: 1.763 MB / 1.009 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.484e-05/0.01031, allocations: 106.2 kB / 1.01 GB, free: 3.922 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.813e-05/0.01036, allocations: 20.55 kB / 1.01 GB, free: 3.902 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.01042, allocations: 44.48 kB / 1.01 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of SimCode: time 4.81e-07/0.01042, allocations: 0 / 1.01 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07707/0.08748, allocations: 4.404 MB / 1.014 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.035/7.123, allocations: 3.625 kB / 1.014 GB, free: 15.62 MB / 0.9792 GB " [Timeout remaining time 293] (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: 11.573586197569966]