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.001369/0.001369, allocations: 85.45 kB / 21.62 MB, free: 2.84 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.001232/0.001232, allocations: 171.6 kB / 25.05 MB, free: 9.199 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 1.017/1.017, allocations: 177.1 MB / 205.5 MB, free: 5.473 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.985/1.985, allocations: 389.6 MB / 0.6363 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.834e-06/1.834e-06, allocations: 0 / 0.7761 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.092e-05, allocations: 2.312 kB / 0.7761 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.003157/0.003188, allocations: 1.761 MB / 0.7778 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.00429, allocations: 0.5927 MB / 0.7784 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.862e-05/0.004389, allocations: 7.938 kB / 0.7784 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.004595, allocations: 25.44 kB / 0.7784 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.004835, allocations: 61.05 kB / 0.7785 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.005044, allocations: 80.77 kB / 0.7786 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.005238, allocations: 136.9 kB / 0.7787 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.005385, allocations: 42.83 kB / 0.7787 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.005612, allocations: 87.72 kB / 0.7788 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.005715, allocations: 48.53 kB / 0.7789 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.00574, allocations: 9.5 kB / 0.7789 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.724e-05/0.005827, allocations: 24 kB / 0.7789 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.964e-05/0.005907, allocations: 43.83 kB / 0.7789 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.005949, allocations: 31.86 kB / 0.779 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.006145, allocations: 120.3 kB / 0.7791 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.006148, allocations: 0 / 0.7791 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.072e-06/0.006149, allocations: 0.5312 kB / 0.7791 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.006153, allocations: 1.188 kB / 0.7791 GB, free: 2.27 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.0004784/0.006631, allocations: 371.8 kB / 0.7794 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.006672, allocations: 17.33 kB / 0.7795 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.006827, allocations: 22.14 kB / 0.7795 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.007087, allocations: 182.4 kB / 0.7796 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.007104, allocations: 13.28 kB / 0.7797 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.007121, allocations: 4.375 kB / 0.7797 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.007311, allocations: 133.8 kB / 0.7798 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.007319, allocations: 4.125 kB / 0.7798 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.007328, allocations: 2.156 kB / 0.7798 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.007337, allocations: 7.938 kB / 0.7798 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.957e-05/0.007367, allocations: 11.98 kB / 0.7798 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.007729, allocations: 221.7 kB / 0.78 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.586e-05/0.007775, allocations: 19.58 kB / 0.78 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.007794, allocations: 12.86 kB / 0.7801 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.007808, allocations: 4.547 kB / 0.7801 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/0.007923, allocations: 120.3 kB / 0.7802 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 2.244e-06/0.007926, allocations: 3.938 kB / 0.7802 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001318/0.008057, allocations: 45.69 kB / 0.7802 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.008113, allocations: 77.11 kB / 0.7803 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.008269, allocations: 213 kB / 0.7805 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.008283, allocations: 25.7 kB / 0.7805 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.008336, allocations: 120.5 kB / 0.7806 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.008354, allocations: 3.953 kB / 0.7806 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.008389, allocations: 17.7 kB / 0.7807 GB, free: 488 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.842e-05/0.008477, allocations: 330.7 kB / 0.781 GB, free: 148 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.008493, allocations: 10.78 kB / 0.781 GB, free: 140 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.186e-05/0.008535, allocations: 69.98 kB / 0.7811 GB, free: 48 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.102e-05/0.008576, allocations: 28.47 kB / 0.7811 GB, free: 12 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.008578, allocations: 0 / 0.7811 GB, free: 12 kB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001265/0.008704, allocations: 45.67 kB / 0.7811 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.008719, allocations: 11.31 kB / 0.7811 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.008724, allocations: 3.938 kB / 0.7811 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.008734, allocations: 0 / 0.7811 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/0.008807, allocations: 5.562 kB / 0.7811 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.008811, allocations: 4 kB / 0.7811 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.008856, allocations: 11.94 kB / 0.7812 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.00887, allocations: 0 / 0.7812 GB, free: 15.93 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 7.338e-05/0.008944, allocations: 125.8 kB / 0.7813 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.008964, allocations: 11.98 kB / 0.7813 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.008995, allocations: 17.77 kB / 0.7813 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.008997, allocations: 0 / 0.7813 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.008998, allocations: 1.062 kB / 0.7813 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.009003, allocations: 4 kB / 0.7813 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.858e-05/0.009101, allocations: 97.78 kB / 0.7814 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.009103, allocations: 0.5312 kB / 0.7814 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.853e-05/0.009152, allocations: 8.938 kB / 0.7814 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.009154, allocations: 3.938 kB / 0.7814 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.009161, allocations: 3.984 kB / 0.7814 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.009162, allocations: 0.5 kB / 0.7814 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.009164, allocations: 4.812 kB / 0.7814 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.412e-05/0.009258, allocations: 73.06 kB / 0.7815 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.009276, allocations: 19.83 kB / 0.7815 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.00929, allocations: 1.531 kB / 0.7815 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.766e-05/0.009327, allocations: 4.328 kB / 0.7815 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.009364, allocations: 7.984 kB / 0.7815 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.009378, allocations: 8.562 kB / 0.7815 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.442e-05/0.009443, allocations: 62.23 kB / 0.7816 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009443, allocations: 1.281 kB / 0.7816 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001693/0.009612, allocations: 24 kB / 0.7816 GB, free: 15.41 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.0002241/0.009836, allocations: 113.7 kB / 0.7817 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.663e-05/0.009933, allocations: 25.59 kB / 0.7818 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.009937, allocations: 0 / 0.7818 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.053e-05/0.009957, allocations: 13.45 kB / 0.7818 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.01014, allocations: 43.08 kB / 0.7818 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005774/0.01072, allocations: 290.4 kB / 0.7821 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.492e-05/0.01076, allocations: 68.17 kB / 0.7822 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.176e-05/0.01081, allocations: 17.41 kB / 0.7822 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.299e-05/0.01091, allocations: 71.36 kB / 0.7822 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.01091, allocations: 0.9375 kB / 0.7822 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of Templates: time 0.004705/0.01561, allocations: 1.866 MB / 0.7841 GB, free: 13.02 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: 5.025583256036043]