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.0009281/0.0009281, allocations: 83.67 kB / 21.74 MB, free: 2.52 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.0009739/0.0009739, allocations: 168.2 kB / 25.18 MB, free: 9.105 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.9044/0.9044, allocations: 177.1 MB / 205.6 MB, free: 4.367 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.943/1.943, allocations: 389.6 MB / 0.6364 GB, free: 13.33 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.442e-06/1.442e-06, allocations: 0 / 0.7755 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.613e-05, allocations: 5.688 kB / 0.7755 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.002415/0.002431, allocations: 1.735 MB / 0.7772 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009461/0.003377, allocations: 0.6036 MB / 0.7778 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.091e-05/0.003458, allocations: 0 / 0.7778 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.003637, allocations: 31.66 kB / 0.7779 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.003856, allocations: 63.67 kB / 0.7779 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.004033, allocations: 79.77 kB / 0.778 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.004222, allocations: 139.5 kB / 0.7781 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.004351, allocations: 30.31 kB / 0.7782 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.004512, allocations: 79.81 kB / 0.7782 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.52e-05/0.004597, allocations: 47.88 kB / 0.7783 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.004621, allocations: 11.94 kB / 0.7783 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.572e-05/0.004697, allocations: 35.91 kB / 0.7783 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.768e-05/0.004765, allocations: 43.84 kB / 0.7784 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/0.004808, allocations: 35.84 kB / 0.7784 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.004957, allocations: 111.5 kB / 0.7785 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004959, allocations: 3.938 kB / 0.7785 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.12e-07/0.00496, allocations: 0 / 0.7785 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.004964, allocations: 0 / 0.7785 GB, free: 11.57 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.0003665/0.00533, allocations: 372 kB / 0.7789 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.005361, allocations: 12.03 kB / 0.7789 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.005465, allocations: 16.92 kB / 0.7789 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.005647, allocations: 193.1 kB / 0.7791 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.005655, allocations: 4.375 kB / 0.7791 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.005668, allocations: 8.375 kB / 0.7791 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.00581, allocations: 137.1 kB / 0.7792 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.005815, allocations: 192 / 0.7792 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.005825, allocations: 8.312 kB / 0.7792 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.005831, allocations: 7.938 kB / 0.7792 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.293e-05/0.005854, allocations: 11.62 kB / 0.7792 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/0.006116, allocations: 233.7 kB / 0.7795 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.351e-05/0.00615, allocations: 18.58 kB / 0.7795 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/0.006165, allocations: 12.86 kB / 0.7795 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.006174, allocations: 0 / 0.7795 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.609e-05/0.00626, allocations: 120.5 kB / 0.7796 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.006261, allocations: 0 / 0.7796 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 9.899e-05/0.00636, allocations: 53.67 kB / 0.7797 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.006392, allocations: 81.05 kB / 0.7797 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.006513, allocations: 209 kB / 0.7799 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.006525, allocations: 25.7 kB / 0.78 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.006567, allocations: 112.5 kB / 0.7801 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.006588, allocations: 19.88 kB / 0.7801 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.006612, allocations: 13.72 kB / 0.7801 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.398e-05/0.006696, allocations: 330.7 kB / 0.7804 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.006713, allocations: 4 kB / 0.7804 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.565e-05/0.006749, allocations: 77.97 kB / 0.7805 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.058e-05/0.006779, allocations: 20.55 kB / 0.7805 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.006781, allocations: 0 / 0.7805 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.396e-05/0.006845, allocations: 53.61 kB / 0.7806 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.006857, allocations: 8 kB / 0.7806 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.006861, allocations: 0 / 0.7806 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.006869, allocations: 0 / 0.7806 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.958e-05/0.006929, allocations: 8.078 kB / 0.7806 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.006932, allocations: 8 kB / 0.7806 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/0.00696, allocations: 4 kB / 0.7806 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.006973, allocations: 3.938 kB / 0.7806 GB, free: 9.207 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 6.024e-05/0.007034, allocations: 116.6 kB / 0.7807 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.007046, allocations: 11.98 kB / 0.7807 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.007071, allocations: 21.02 kB / 0.7807 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.007073, allocations: 0 / 0.7807 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.007074, allocations: 0 / 0.7807 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.007078, allocations: 0 / 0.7807 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.9e-05/0.007157, allocations: 105.7 kB / 0.7808 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.007158, allocations: 4 kB / 0.7808 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-05/0.007181, allocations: 11.98 kB / 0.7809 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.007182, allocations: 0 / 0.7809 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-06/0.007186, allocations: 0 / 0.7809 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.007187, allocations: 0 / 0.7809 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.007187, allocations: 0 / 0.7809 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.288e-05/0.00726, allocations: 76.98 kB / 0.7809 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.007272, allocations: 12.23 kB / 0.7809 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.007284, allocations: 0 / 0.7809 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.457e-05/0.007309, allocations: 11.98 kB / 0.781 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.007339, allocations: 8 kB / 0.781 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.007351, allocations: 11.98 kB / 0.781 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001441/0.007495, allocations: 62.25 kB / 0.781 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.2e-07/0.007495, allocations: 4 kB / 0.781 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001665/0.007662, allocations: 19.94 kB / 0.7811 GB, free: 8.695 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.0002243/0.007886, allocations: 104 kB / 0.7812 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.007991, allocations: 24.83 kB / 0.7812 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.007997, allocations: 0 / 0.7812 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-05/0.008016, allocations: 12.8 kB / 0.7812 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.008193, allocations: 48.58 kB / 0.7812 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005816/0.008775, allocations: 312.9 kB / 0.7815 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.758e-05/0.008863, allocations: 110.4 kB / 0.7816 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.704e-05/0.00896, allocations: 79.33 kB / 0.7817 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of SimCode: time 1.112e-06/0.008961, allocations: 0 / 0.7817 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of Templates: time 0.002725/0.01169, allocations: 2.156 MB / 0.7838 GB, free: 5.793 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 > Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.674876148812473]