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.001051/0.001051, allocations: 80.75 kB / 20.82 MB, free: 3.633 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.001201/0.001201, allocations: 165 kB / 24.25 MB, free: 212 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.9727/0.9727, allocations: 177.2 MB / 204.7 MB, free: 5.445 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.908/1.908, allocations: 389.6 MB / 0.6355 GB, free: 12.26 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 2.705e-06/2.705e-06, allocations: 0 / 0.7753 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.307e-05, allocations: 4.5 kB / 0.7753 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.002632/0.002655, allocations: 1.741 MB / 0.777 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00083/0.003485, allocations: 0.595 MB / 0.7776 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.461e-05/0.003579, allocations: 9.469 kB / 0.7776 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.003759, allocations: 30.16 kB / 0.7777 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.003974, allocations: 55.91 kB / 0.7777 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.004186, allocations: 80.53 kB / 0.7778 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000176/0.004362, allocations: 142.8 kB / 0.7779 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.004482, allocations: 41.05 kB / 0.778 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.004652, allocations: 83.73 kB / 0.778 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.725e-05/0.00474, allocations: 51.81 kB / 0.7781 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.004761, allocations: 8 kB / 0.7781 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.569e-05/0.004837, allocations: 27.92 kB / 0.7781 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.43e-05/0.004901, allocations: 39.84 kB / 0.7782 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.005051, allocations: 38.53 kB / 0.7782 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.005222, allocations: 119.5 kB / 0.7783 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.005225, allocations: 0 / 0.7783 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.52e-07/0.005226, allocations: 0 / 0.7783 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.00523, allocations: 0 / 0.7783 GB, free: 2.281 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.0003737/0.005604, allocations: 367.9 kB / 0.7787 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.005636, allocations: 9.344 kB / 0.7787 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.005746, allocations: 29.53 kB / 0.7787 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.005931, allocations: 179.3 kB / 0.7789 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.005941, allocations: 16.31 kB / 0.7789 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.005954, allocations: 5.156 kB / 0.7789 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.006108, allocations: 136 kB / 0.779 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.006116, allocations: 4.812 kB / 0.779 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.006124, allocations: 1.281 kB / 0.779 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.006131, allocations: 3.938 kB / 0.779 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.448e-05/0.006155, allocations: 11.98 kB / 0.779 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.006506, allocations: 231.1 kB / 0.7793 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.991e-05/0.006546, allocations: 14.58 kB / 0.7793 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.621e-05/0.006562, allocations: 9.578 kB / 0.7793 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.006575, allocations: 4 kB / 0.7793 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001035/0.006679, allocations: 124.9 kB / 0.7794 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.00668, allocations: 1.719 kB / 0.7794 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001084/0.006789, allocations: 41.69 kB / 0.7795 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.006822, allocations: 77.11 kB / 0.7795 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.006936, allocations: 213 kB / 0.7797 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.006949, allocations: 33.7 kB / 0.7798 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.006988, allocations: 113.2 kB / 0.7799 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.007005, allocations: 11.94 kB / 0.7799 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.007037, allocations: 18.22 kB / 0.7799 GB, free: 500 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.762e-05/0.007114, allocations: 336.4 kB / 0.7802 GB, free: 156 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.162e-05/0.007126, allocations: 0 / 0.7802 GB, free: 156 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.485e-05/0.007161, allocations: 69.98 kB / 0.7803 GB, free: 64 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.007196, allocations: 25.41 kB / 0.7803 GB, free: 32 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.007198, allocations: 0 / 0.7803 GB, free: 32 kB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.225e-05/0.00727, allocations: 50.66 kB / 0.7804 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.007282, allocations: 4 kB / 0.7804 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.007286, allocations: 1.75 kB / 0.7804 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.575e-06/0.007293, allocations: 0 / 0.7804 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.002e-05/0.007353, allocations: 11.98 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.007356, allocations: 3.938 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.645e-05/0.007393, allocations: 13.09 kB / 0.7804 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.007405, allocations: 4 kB / 0.7804 GB, free: 15.94 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.66e-05/0.007472, allocations: 120.5 kB / 0.7805 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.007486, allocations: 12.64 kB / 0.7805 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.00751, allocations: 14.16 kB / 0.7805 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.007512, allocations: 0 / 0.7805 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.007513, allocations: 4 kB / 0.7805 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.007516, allocations: 3.984 kB / 0.7805 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.911e-05/0.007596, allocations: 98.39 kB / 0.7806 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007597, allocations: 0.5312 kB / 0.7806 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.719e-05/0.007624, allocations: 9.5 kB / 0.7806 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.007626, allocations: 4 kB / 0.7807 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.007631, allocations: 4 kB / 0.7807 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.007632, allocations: 0 / 0.7807 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.007634, allocations: 5.391 kB / 0.7807 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.806e-05/0.007702, allocations: 69.06 kB / 0.7807 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.459e-05/0.007717, allocations: 19.83 kB / 0.7807 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.00773, allocations: 4 kB / 0.7808 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.309e-05/0.007753, allocations: 4.688 kB / 0.7808 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.007782, allocations: 12.25 kB / 0.7808 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.007792, allocations: 5.094 kB / 0.7808 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.227e-05/0.007844, allocations: 70.23 kB / 0.7808 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007844, allocations: 0 / 0.7808 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001216/0.007966, allocations: 17.03 kB / 0.7809 GB, free: 15.43 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.0001796/0.008145, allocations: 123.8 kB / 0.781 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.632e-05/0.008222, allocations: 16.86 kB / 0.781 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.008225, allocations: 1.406 kB / 0.781 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-05/0.008244, allocations: 20.78 kB / 0.781 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.008395, allocations: 48.58 kB / 0.7811 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.008882, allocations: 277.5 kB / 0.7813 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.794e-05/0.00892, allocations: 71.33 kB / 0.7814 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.121e-05/0.008962, allocations: 9.219 kB / 0.7814 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.837e-05/0.00904, allocations: 76.28 kB / 0.7815 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.00904, allocations: 0 / 0.7815 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of Templates: time 0.003725/0.01277, allocations: 1.861 MB / 0.7833 GB, free: 13.04 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.042268080636859]