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.0008789/0.0008789, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001108/0.001108, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9562/0.9562, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.965/1.965, allocations: 389.6 MB / 0.6354 GB, free: 12.29 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: translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter") translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.7752 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.874e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.002358/0.002377, allocations: 1.755 MB / 0.7769 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000816/0.003193, allocations: 0.6006 MB / 0.7775 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.796e-05/0.003271, allocations: 7.938 kB / 0.7775 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.003449, allocations: 28.77 kB / 0.7775 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.00367, allocations: 68.92 kB / 0.7776 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.003835, allocations: 76.5 kB / 0.7776 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.003987, allocations: 144.6 kB / 0.7778 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.004105, allocations: 38.23 kB / 0.7778 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.00426, allocations: 80.7 kB / 0.7779 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.549e-05/0.004346, allocations: 47.88 kB / 0.7779 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.004366, allocations: 12.69 kB / 0.778 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.422e-05/0.00444, allocations: 35.86 kB / 0.778 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.656e-05/0.004507, allocations: 49.27 kB / 0.778 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.004539, allocations: 27.92 kB / 0.7781 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.004685, allocations: 115.5 kB / 0.7782 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004687, allocations: 0 / 0.7782 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.41e-07/0.004688, allocations: 0.6562 kB / 0.7782 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.004691, allocations: 0 / 0.7782 GB, free: 2.352 MB / 0.7292 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.0003655/0.005057, allocations: 368.6 kB / 0.7785 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.005088, allocations: 15.06 kB / 0.7785 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.005198, allocations: 20.91 kB / 0.7786 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.005394, allocations: 186.5 kB / 0.7787 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.005406, allocations: 16.25 kB / 0.7788 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.005417, allocations: 8.922 kB / 0.7788 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.005557, allocations: 136.6 kB / 0.7789 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.005564, allocations: 192 / 0.7789 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.005572, allocations: 384 / 0.7789 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.005578, allocations: 7.938 kB / 0.7789 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.31e-05/0.005601, allocations: 10.62 kB / 0.7789 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.005874, allocations: 221.7 kB / 0.7791 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.223e-05/0.005907, allocations: 18.58 kB / 0.7791 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.507e-05/0.005922, allocations: 8.922 kB / 0.7791 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.005936, allocations: 2.75 kB / 0.7792 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.948e-05/0.006035, allocations: 116.5 kB / 0.7793 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.006036, allocations: 0 / 0.7793 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001041/0.00614, allocations: 53.67 kB / 0.7793 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.006171, allocations: 77.11 kB / 0.7794 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.006289, allocations: 213 kB / 0.7796 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.0063, allocations: 25.7 kB / 0.7796 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.006342, allocations: 118 kB / 0.7797 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.006356, allocations: 7.891 kB / 0.7797 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.006382, allocations: 17.72 kB / 0.7798 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.006456, allocations: 330.7 kB / 0.7801 GB, free: 240 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.006467, allocations: 5.078 kB / 0.7801 GB, free: 236 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-05/0.006495, allocations: 53.14 kB / 0.7801 GB, free: 164 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.323e-05/0.006528, allocations: 30.86 kB / 0.7802 GB, free: 124 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.00653, allocations: 3.938 kB / 0.7802 GB, free: 120 kB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.613e-05/0.006586, allocations: 50.38 kB / 0.7802 GB, free: 64 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.006597, allocations: 8.688 kB / 0.7802 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.006601, allocations: 1.812 kB / 0.7802 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.006612, allocations: 0 / 0.7802 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.552e-05/0.006668, allocations: 11.98 kB / 0.7802 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.00667, allocations: 0 / 0.7802 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.458e-05/0.006705, allocations: 11.89 kB / 0.7802 GB, free: 32 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-06/0.006712, allocations: 8.938 kB / 0.7802 GB, free: 24 kB / 0.7292 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.19e-05/0.006784, allocations: 120.6 kB / 0.7804 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.006796, allocations: 8.812 kB / 0.7804 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.006826, allocations: 22.02 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.006828, allocations: 3.984 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.006831, allocations: 4 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.006833, allocations: 0.8125 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.178e-05/0.006915, allocations: 97.78 kB / 0.7805 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.006916, allocations: 0.5312 kB / 0.7805 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.516e-05/0.006941, allocations: 12.92 kB / 0.7805 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.006943, allocations: 0 / 0.7805 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-06/0.006947, allocations: 3.938 kB / 0.7805 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.006948, allocations: 0.875 kB / 0.7805 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.006948, allocations: 0 / 0.7805 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.338e-05/0.007012, allocations: 74 kB / 0.7806 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.094e-05/0.007022, allocations: 11.91 kB / 0.7806 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.007033, allocations: 0 / 0.7806 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.519e-05/0.007058, allocations: 12.92 kB / 0.7806 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.007087, allocations: 7.984 kB / 0.7806 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.007102, allocations: 4.938 kB / 0.7806 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.008e-05/0.007152, allocations: 70.23 kB / 0.7807 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007152, allocations: 0 / 0.7807 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001182/0.00727, allocations: 16.84 kB / 0.7807 GB, free: 15.52 MB / 0.7448 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.000156/0.007426, allocations: 117 kB / 0.7808 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.236e-05/0.007499, allocations: 20.78 kB / 0.7808 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.007502, allocations: 0 / 0.7808 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.536e-05/0.007518, allocations: 8.859 kB / 0.7808 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.007666, allocations: 49.81 kB / 0.7809 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.008133, allocations: 280.9 kB / 0.7812 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.506e-05/0.008168, allocations: 67.33 kB / 0.7812 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.936e-05/0.008207, allocations: 13.56 kB / 0.7812 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.276e-05/0.00828, allocations: 71.36 kB / 0.7813 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.00828, allocations: 0.7812 kB / 0.7813 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of Templates: time 0.003823/0.0121, allocations: 1.813 MB / 0.7831 GB, free: 13.18 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 300] (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_cvode && ../Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.933120094239712]