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.001219/0.001219, allocations: 80.81 kB / 21.55 MB, free: 2.949 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.001448/0.001448, allocations: 164.5 kB / 24.96 MB, free: 8.711 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.9109/0.9109, allocations: 177.1 MB / 205.4 MB, free: 4.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.962/1.962, allocations: 389.6 MB / 0.6361 GB, free: 13.38 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.563e-06/1.563e-06, allocations: 0 / 0.776 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/3.017e-05, allocations: 10.19 kB / 0.776 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.002613/0.002644, allocations: 1.743 MB / 0.7777 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008074/0.003451, allocations: 0.6037 MB / 0.7783 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.516e-05/0.003526, allocations: 7.938 kB / 0.7783 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.0037, allocations: 23.8 kB / 0.7783 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.003919, allocations: 71.55 kB / 0.7784 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.004052, allocations: 71.84 kB / 0.7784 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.004214, allocations: 139.5 kB / 0.7786 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.004336, allocations: 42.25 kB / 0.7786 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.004476, allocations: 79.8 kB / 0.7787 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.027e-05/0.004556, allocations: 51.81 kB / 0.7787 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.004577, allocations: 8 kB / 0.7787 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.833e-05/0.004645, allocations: 31.86 kB / 0.7788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.254e-05/0.004717, allocations: 47.83 kB / 0.7788 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.004751, allocations: 27.92 kB / 0.7788 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.004905, allocations: 119.5 kB / 0.7789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.004907, allocations: 0 / 0.7789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004908, allocations: 7.938 kB / 0.779 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.004913, allocations: 0 / 0.779 GB, free: 10.89 MB / 0.7448 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.000374/0.005287, allocations: 364 kB / 0.7793 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.005323, allocations: 12.03 kB / 0.7793 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.005434, allocations: 24.91 kB / 0.7793 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.005635, allocations: 193.1 kB / 0.7795 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.005644, allocations: 4.375 kB / 0.7795 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.005664, allocations: 20.34 kB / 0.7795 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.005805, allocations: 129.2 kB / 0.7797 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.005812, allocations: 192 / 0.7797 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.00582, allocations: 4.375 kB / 0.7797 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.005828, allocations: 7.938 kB / 0.7797 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.995e-05/0.005848, allocations: 8 kB / 0.7797 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002578/0.006106, allocations: 221.7 kB / 0.7799 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 2.979e-05/0.006136, allocations: 18.58 kB / 0.7799 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.643e-05/0.006152, allocations: 8.922 kB / 0.7799 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.006167, allocations: 4 kB / 0.7799 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.377e-05/0.00626, allocations: 128.4 kB / 0.7801 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.006261, allocations: 0 / 0.7801 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 9.859e-05/0.00636, allocations: 49.67 kB / 0.7801 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.006389, allocations: 77.11 kB / 0.7802 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.006508, allocations: 209 kB / 0.7804 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.006519, allocations: 25.7 kB / 0.7804 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.006561, allocations: 120.5 kB / 0.7805 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.006577, allocations: 7.906 kB / 0.7805 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.381e-05/0.006601, allocations: 13.72 kB / 0.7805 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.006696, allocations: 334.7 kB / 0.7809 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.006707, allocations: 3.984 kB / 0.7809 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.977e-05/0.006737, allocations: 57.12 kB / 0.7809 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.006772, allocations: 37.33 kB / 0.7809 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.006773, allocations: 0 / 0.7809 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.3e-05/0.006826, allocations: 45.62 kB / 0.781 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.006837, allocations: 8 kB / 0.781 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.006841, allocations: 4.125 kB / 0.781 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.006852, allocations: 0 / 0.781 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.692e-05/0.006909, allocations: 11.98 kB / 0.781 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.006912, allocations: 0 / 0.781 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/0.00694, allocations: 7.938 kB / 0.781 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.006947, allocations: 4 kB / 0.781 GB, free: 8.539 MB / 0.7448 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 5.751e-05/0.007005, allocations: 120.5 kB / 0.7811 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.007017, allocations: 12 kB / 0.7812 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.289e-05/0.00704, allocations: 17.02 kB / 0.7812 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.007042, allocations: 0 / 0.7812 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.007043, allocations: 4 kB / 0.7812 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.007046, allocations: 4 kB / 0.7812 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.685e-05/0.007112, allocations: 93.78 kB / 0.7813 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.007113, allocations: 288 / 0.7813 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-05/0.007136, allocations: 15.92 kB / 0.7813 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.92e-07/0.007137, allocations: 0 / 0.7813 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.007141, allocations: 0 / 0.7813 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.007142, allocations: 4 kB / 0.7813 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.007143, allocations: 0 / 0.7813 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.131e-05/0.007204, allocations: 77.03 kB / 0.7814 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.284e-05/0.007217, allocations: 19.89 kB / 0.7814 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.007229, allocations: 8 kB / 0.7814 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.467e-05/0.007254, allocations: 11.98 kB / 0.7814 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.007282, allocations: 3.984 kB / 0.7814 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.007296, allocations: 4 kB / 0.7814 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.657e-05/0.007343, allocations: 66.25 kB / 0.7815 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007343, allocations: 0 / 0.7815 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001082/0.007451, allocations: 20 kB / 0.7815 GB, free: 8.023 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.0001513/0.007602, allocations: 108.2 kB / 0.7816 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.888e-05/0.007671, allocations: 16.84 kB / 0.7816 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.007674, allocations: 0 / 0.7816 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.474e-05/0.007689, allocations: 8.859 kB / 0.7816 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.007823, allocations: 52.56 kB / 0.7817 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004297/0.008253, allocations: 283.3 kB / 0.7819 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.477e-05/0.008287, allocations: 75.33 kB / 0.782 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.41e-05/0.008322, allocations: 12.48 kB / 0.782 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.774e-05/0.008389, allocations: 67.36 kB / 0.7821 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.00839, allocations: 0 / 0.7821 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of Templates: time 0.0032/0.01159, allocations: 1.828 MB / 0.7839 GB, free: 5.539 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 & ./Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.601368454284966]