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.001/0.001, 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.00212/0.00212, allocations: 161 kB / 24.16 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 1.054/1.054, allocations: 177.2 MB / 204.6 MB, free: 5.074 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.911/1.911, allocations: 389.6 MB / 0.6354 GB, free: 12.28 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.332e-06/1.332e-06, allocations: 0 / 0.7751 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.217e-05, allocations: 4.969 kB / 0.7751 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.002436/0.002458, allocations: 1.706 MB / 0.7768 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007907/0.003249, allocations: 0.5989 MB / 0.7774 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.518e-05/0.003324, allocations: 10.69 kB / 0.7774 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.003488, allocations: 29.38 kB / 0.7774 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.003692, allocations: 71.38 kB / 0.7775 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.003888, allocations: 68.39 kB / 0.7776 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.004051, allocations: 145.1 kB / 0.7777 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.004163, allocations: 38.23 kB / 0.7777 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.004321, allocations: 86.97 kB / 0.7778 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.169e-05/0.004402, allocations: 47.88 kB / 0.7779 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.004422, allocations: 11.94 kB / 0.7779 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.987e-05/0.004482, allocations: 27.94 kB / 0.7779 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.686e-05/0.004549, allocations: 47.83 kB / 0.7779 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.004584, allocations: 35.84 kB / 0.778 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.004734, allocations: 115.5 kB / 0.7781 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.004736, allocations: 0.6562 kB / 0.7781 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004737, allocations: 0 / 0.7781 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.004754, allocations: 0.6875 kB / 0.7781 GB, free: 2.418 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.0003785/0.005132, allocations: 372.5 kB / 0.7784 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.005164, allocations: 13.97 kB / 0.7785 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.005269, allocations: 16.92 kB / 0.7785 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.005462, allocations: 190.9 kB / 0.7787 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.005472, allocations: 9.344 kB / 0.7787 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.005485, allocations: 8.375 kB / 0.7787 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.005622, allocations: 132.6 kB / 0.7788 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.005628, allocations: 0.7812 kB / 0.7788 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.005637, allocations: 4.375 kB / 0.7788 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.005646, allocations: 12.59 kB / 0.7788 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.243e-05/0.005668, allocations: 11.98 kB / 0.7788 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.005937, allocations: 214.3 kB / 0.779 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.898e-05/0.005976, allocations: 23.16 kB / 0.779 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.416e-05/0.00599, allocations: 9.734 kB / 0.7791 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.006001, allocations: 4.062 kB / 0.7791 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.664e-05/0.006087, allocations: 121.5 kB / 0.7792 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.006088, allocations: 3.938 kB / 0.7792 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 9.544e-05/0.006184, allocations: 45.69 kB / 0.7792 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.006217, allocations: 82.11 kB / 0.7793 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.006328, allocations: 209 kB / 0.7795 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.006339, allocations: 30.22 kB / 0.7795 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.006378, allocations: 112.5 kB / 0.7796 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.006392, allocations: 9.234 kB / 0.7796 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.006417, allocations: 17.7 kB / 0.7797 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.447e-05/0.006492, allocations: 330.7 kB / 0.78 GB, free: 304 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.128e-06/0.006501, allocations: 1.25 kB / 0.78 GB, free: 304 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.807e-05/0.006529, allocations: 57.12 kB / 0.78 GB, free: 228 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.118e-05/0.00656, allocations: 30.58 kB / 0.7801 GB, free: 188 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.006562, allocations: 4 kB / 0.7801 GB, free: 184 kB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.284e-05/0.006615, allocations: 51.22 kB / 0.7801 GB, free: 128 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.006627, allocations: 11.98 kB / 0.7801 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.00663, allocations: 0 / 0.7801 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.00664, allocations: 0.7188 kB / 0.7801 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.631e-05/0.006696, allocations: 8 kB / 0.7801 GB, free: 108 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.006699, allocations: 1.312 kB / 0.7801 GB, free: 108 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.226e-05/0.006731, allocations: 15.88 kB / 0.7802 GB, free: 92 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.006738, allocations: 4 kB / 0.7802 GB, free: 88 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.015e-05/0.006808, allocations: 114.3 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.00682, allocations: 12.27 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.006846, allocations: 21.02 kB / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.006848, allocations: 3.984 kB / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.006849, allocations: 1.312 kB / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.006852, allocations: 0 / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.944e-05/0.006922, allocations: 97.78 kB / 0.7804 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.006923, allocations: 4.594 kB / 0.7804 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.216e-05/0.006945, allocations: 8 kB / 0.7804 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.006945, allocations: 1.125 kB / 0.7804 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.006951, allocations: 3.984 kB / 0.7804 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.006952, allocations: 0 / 0.7804 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.006952, allocations: 1 kB / 0.7804 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.09e-05/0.007013, allocations: 73.06 kB / 0.7805 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.007027, allocations: 15.89 kB / 0.7805 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.007038, allocations: 4.438 kB / 0.7805 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.55e-05/0.007064, allocations: 12.78 kB / 0.7805 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.007092, allocations: 7.984 kB / 0.7805 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.007105, allocations: 4.719 kB / 0.7805 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.884e-05/0.007154, allocations: 66.25 kB / 0.7806 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.007154, allocations: 0.5312 kB / 0.7806 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001114/0.007265, allocations: 17.78 kB / 0.7806 GB, free: 15.58 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.000152/0.007417, allocations: 119.1 kB / 0.7807 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.531e-05/0.007483, allocations: 12.86 kB / 0.7807 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.007487, allocations: 4 kB / 0.7807 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.748e-05/0.007504, allocations: 16.78 kB / 0.7808 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.007643, allocations: 45.58 kB / 0.7808 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004298/0.008073, allocations: 278.2 kB / 0.7811 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.255e-05/0.008106, allocations: 71.33 kB / 0.7811 GB, free: 15 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.705e-05/0.008143, allocations: 12.62 kB / 0.7811 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.008217, allocations: 76.84 kB / 0.7812 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.008217, allocations: 0 / 0.7812 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.003344/0.01156, allocations: 1.807 MB / 0.783 GB, free: 13.25 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.143727202899754]