Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter") translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.608/1.608, allocations: 287.4 MB / 303.2 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001483/0.001483, allocations: 184.8 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.4 MB / 0.6304 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008724/0.0008721, allocations: 92.84 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003165, allocations: 15.61 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1872, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.00201/0.1893, allocations: 1.323 MB / 0.9806 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009882/0.1903, allocations: 0.5515 MB / 0.9811 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.339e-05/0.1904, allocations: 4 kB / 0.9811 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.1906, allocations: 19.86 kB / 0.9811 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.1909, allocations: 60.73 kB / 0.9812 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.1911, allocations: 55.94 kB / 0.9812 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.1912, allocations: 119.5 kB / 0.9814 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.1914, allocations: 45.47 kB / 0.9814 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.1916, allocations: 39.78 kB / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.1917, allocations: 55.75 kB / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.1917, allocations: 0 / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.991e-05/0.1918, allocations: 12 kB / 0.9815 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.638e-05/0.1919, allocations: 35.84 kB / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.1919, allocations: 41.64 kB / 0.9816 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.1921, allocations: 100 kB / 0.9817 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1921, allocations: 4 kB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1921, allocations: 7.938 kB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.1921, allocations: 0 / 0.9817 GB, free: 25.71 MB / 0.6198 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.0005831/0.1927, allocations: 450.7 kB / 0.9821 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1928, allocations: 12.03 kB / 0.9821 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.1928, allocations: 20.66 kB / 0.9821 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.1931, allocations: 229 kB / 0.9824 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1931, allocations: 8.375 kB / 0.9824 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.1932, allocations: 8.312 kB / 0.9824 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.1935, allocations: 119.8 kB / 0.9825 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1935, allocations: 0 / 0.9825 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.1936, allocations: 0 / 0.9825 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1936, allocations: 4 kB / 0.9825 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.194, allocations: 79.94 kB / 0.9826 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006557/0.1946, allocations: 392.4 kB / 0.9829 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.1948, allocations: 46.55 kB / 0.983 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.195, allocations: 40.89 kB / 0.983 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.1951, allocations: 0 / 0.983 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002917/0.1954, allocations: 109 kB / 0.9831 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.1954, allocations: 0 / 0.9831 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005896/0.196, allocations: 145.5 kB / 0.9833 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.196, allocations: 81.11 kB / 0.9833 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.1963, allocations: 252.9 kB / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1963, allocations: 25.7 kB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.1964, allocations: 128.1 kB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.1964, allocations: 15.8 kB / 0.9838 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-06/0.1965, allocations: 4 kB / 0.9838 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.16e-05/0.1965, allocations: 322.8 kB / 0.9841 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.1967, allocations: 35.91 kB / 0.9841 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.1969, allocations: 63.44 kB / 0.9842 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.1972, allocations: 78.56 kB / 0.9842 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1972, allocations: 0 / 0.9842 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004007/0.1976, allocations: 121.4 kB / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1977, allocations: 4 kB / 0.9844 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1977, allocations: 0 / 0.9844 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1977, allocations: 7.938 kB / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.1979, allocations: 19.92 kB / 0.9844 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1979, allocations: 4.094 kB / 0.9844 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.198, allocations: 15.98 kB / 0.9844 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1981, allocations: 0 / 0.9844 GB, free: 22.67 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.1982, allocations: 133.8 kB / 0.9845 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.1982, allocations: 15.81 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.1983, allocations: 17.23 kB / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1983, allocations: 7.875 kB / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1983, allocations: 4 kB / 0.9846 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.1983, allocations: 100.8 kB / 0.9847 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.1984, allocations: 4 kB / 0.9847 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.1985, allocations: 11.98 kB / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.1986, allocations: 8 kB / 0.9847 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004652/0.1991, allocations: 192.8 kB / 0.9849 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004231/0.1995, allocations: 294.4 kB / 0.9852 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001715/0.1997, allocations: 35.97 kB / 0.9852 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001995/0.1999, allocations: 188.5 kB / 0.9854 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of Backend: time 5.21e-07/0.1999, allocations: 3.938 kB / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00083/0.2008, allocations: 152.4 kB / 0.9855 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0006958/0.2015, allocations: 0.7692 MB / 0.9863 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.005734/0.2072, allocations: 1.706 MB / 0.9879 GB, free: 18.97 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1)