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.0009203/0.0009203, allocations: 80.81 kB / 21.55 MB, free: 2.938 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.0009593/0.0009593, allocations: 167.2 kB / 24.97 MB, free: 8.172 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.9603/0.9603, allocations: 177.1 MB / 205.4 MB, free: 4.449 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 2.045/2.045, allocations: 389.5 MB / 0.6362 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.623e-06/1.623e-06, allocations: 0 / 0.776 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.52e-05, allocations: 2.312 kB / 0.776 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.003436/0.003461, allocations: 1.736 MB / 0.7777 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.004494, allocations: 0.6075 MB / 0.7783 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.004596, allocations: 7.938 kB / 0.7783 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.004778, allocations: 23.8 kB / 0.7783 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.004991, allocations: 67.61 kB / 0.7784 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.005175, allocations: 75.78 kB / 0.7784 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.005334, allocations: 143.5 kB / 0.7786 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.005448, allocations: 34.27 kB / 0.7786 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.005612, allocations: 87.72 kB / 0.7787 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.367e-05/0.005696, allocations: 55.81 kB / 0.7787 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.005718, allocations: 8 kB / 0.7787 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.385e-05/0.005792, allocations: 23.94 kB / 0.7788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.483e-05/0.005856, allocations: 43.83 kB / 0.7788 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.005891, allocations: 35.84 kB / 0.7788 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.006051, allocations: 119.5 kB / 0.779 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.006053, allocations: 0 / 0.779 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.193e-06/0.006055, allocations: 4 kB / 0.779 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.006059, 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.0003731/0.006432, allocations: 367.9 kB / 0.7793 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.006464, allocations: 8.031 kB / 0.7793 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.006577, allocations: 24.91 kB / 0.7793 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.00677, allocations: 189.1 kB / 0.7795 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.00678, allocations: 8.375 kB / 0.7795 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.006792, allocations: 4.375 kB / 0.7795 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.006941, allocations: 137.2 kB / 0.7797 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.006948, allocations: 192 / 0.7797 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.006957, allocations: 384 / 0.7797 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.006963, allocations: 11.88 kB / 0.7797 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.307e-05/0.006986, allocations: 11.98 kB / 0.7797 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.007281, allocations: 217.7 kB / 0.7799 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.725e-05/0.007318, allocations: 18.58 kB / 0.7799 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.007333, allocations: 8.922 kB / 0.7799 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.007348, allocations: 0 / 0.7799 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.964e-05/0.007447, allocations: 128.4 kB / 0.78 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.007448, allocations: 4 kB / 0.78 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001067/0.007555, allocations: 49.62 kB / 0.7801 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.007582, allocations: 77.11 kB / 0.7802 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.007705, allocations: 209 kB / 0.7804 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.007717, allocations: 25.7 kB / 0.7804 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.007759, allocations: 116.5 kB / 0.7805 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.007778, allocations: 11.84 kB / 0.7805 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.007806, allocations: 17.7 kB / 0.7805 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.101e-05/0.007887, allocations: 334.7 kB / 0.7809 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/0.007897, allocations: 0 / 0.7809 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.09e-05/0.007928, allocations: 61.14 kB / 0.7809 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.333e-05/0.007972, allocations: 33.33 kB / 0.7809 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.007973, allocations: 0 / 0.7809 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.428e-05/0.008037, allocations: 45.91 kB / 0.781 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.008051, allocations: 8 kB / 0.781 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.008056, allocations: 0 / 0.781 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.008065, allocations: 3.938 kB / 0.781 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.00813, allocations: 20.11 kB / 0.781 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.008133, allocations: 3.938 kB / 0.781 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.628e-05/0.00817, allocations: 11.97 kB / 0.781 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.008177, allocations: 4 kB / 0.781 GB, free: 8.531 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 6.434e-05/0.008241, allocations: 116.6 kB / 0.7811 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.008255, allocations: 11.98 kB / 0.7812 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/0.008278, allocations: 13.03 kB / 0.7812 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.00828, allocations: 0 / 0.7812 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.008281, allocations: 0 / 0.7812 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.008294, allocations: 15.89 kB / 0.7812 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.008306, allocations: 8 kB / 0.7812 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.59e-05/0.008332, allocations: 4 kB / 0.7812 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.008364, allocations: 11.92 kB / 0.7812 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.192e-05/0.008436, allocations: 113 kB / 0.7813 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.759e-05/0.008534, allocations: 225.6 kB / 0.7815 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.751e-05/0.008562, allocations: 12.86 kB / 0.7815 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.13e-05/0.008613, allocations: 59.42 kB / 0.7816 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of Backend: time 2.21e-07/0.008613, allocations: 0 / 0.7816 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003719/0.008985, allocations: 127.6 kB / 0.7817 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0007155/0.0097, allocations: 0.843 MB / 0.7825 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of Templates: time 0.004303/0.014, allocations: 2.074 MB / 0.7846 GB, free: 4.84 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.719617887400091]