Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter") translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.218/1.218, allocations: 251.5 MB / 267.4 MB, free: 11.13 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008689/0.0008689, allocations: 168.7 kB / 326.5 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205 MB / 0.5767 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006183/0.0006183, allocations: 80.56 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002707/0.0002707, allocations: 15.58 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1663, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.001585/0.168, allocations: 1.368 MB / 0.8981 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006655/0.1686, allocations: 0.5928 MB / 0.8987 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.1687, allocations: 3.938 kB / 0.8987 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.1689, allocations: 23.84 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.1691, allocations: 58.27 kB / 0.8987 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.1692, allocations: 63.86 kB / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.1694, allocations: 123.5 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.1695, allocations: 45.42 kB / 0.899 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.472e-05/0.1696, allocations: 43.78 kB / 0.899 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.413e-05/0.1697, allocations: 51.7 kB / 0.8991 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1697, allocations: 4 kB / 0.8991 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.273e-05/0.1697, allocations: 15.98 kB / 0.8991 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.564e-05/0.1698, allocations: 51.77 kB / 0.8991 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.1698, allocations: 43.62 kB / 0.8992 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.17, allocations: 135.5 kB / 0.8993 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.17, allocations: 0 / 0.8993 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.663e-06/0.17, allocations: 0 / 0.8993 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.17, allocations: 0 / 0.8993 GB, free: 65.56 MB / 0.6042 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.0004363/0.1704, allocations: 450.7 kB / 0.8997 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1705, allocations: 12.02 kB / 0.8997 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.1705, allocations: 20.75 kB / 0.8998 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.1707, allocations: 236.8 kB / 0.9 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-06/0.1707, allocations: 4.375 kB / 0.9 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.1708, allocations: 4.359 kB / 0.9 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.171, allocations: 122 kB / 0.9001 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.171, allocations: 4 kB / 0.9001 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.171, allocations: 0 / 0.9001 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.171, allocations: 7.984 kB / 0.9001 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.1712, allocations: 83.88 kB / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.1717, allocations: 380.5 kB / 0.9006 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.1718, allocations: 54.48 kB / 0.9006 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.206e-05/0.1719, allocations: 36.89 kB / 0.9006 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.1719, allocations: 0 / 0.9006 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002166/0.1722, allocations: 105.1 kB / 0.9007 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1722, allocations: 0 / 0.9007 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003545/0.1725, allocations: 145.3 kB / 0.9009 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.1726, allocations: 77.11 kB / 0.901 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.1727, allocations: 268.9 kB / 0.9012 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.1728, allocations: 25.7 kB / 0.9012 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.1728, allocations: 128 kB / 0.9014 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.1728, allocations: 15.89 kB / 0.9014 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/0.1728, allocations: 9.719 kB / 0.9014 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.158e-05/0.1729, allocations: 326.8 kB / 0.9017 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.439e-05/0.173, allocations: 35.91 kB / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.622e-05/0.1731, allocations: 55.41 kB / 0.9018 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.1733, allocations: 82.5 kB / 0.9019 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1733, allocations: 0 / 0.9019 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002241/0.1736, allocations: 125.4 kB / 0.902 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.1736, allocations: 4 kB / 0.902 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1736, allocations: 0 / 0.902 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1736, allocations: 8.094 kB / 0.902 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.638e-05/0.1737, allocations: 19.92 kB / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1737, allocations: 3.984 kB / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.798e-05/0.1738, allocations: 19.84 kB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1738, allocations: 3.984 kB / 0.902 GB, free: 62.48 MB / 0.6042 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.279e-05/0.1739, allocations: 126.5 kB / 0.9022 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.1739, allocations: 23.8 kB / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.174, allocations: 17.19 kB / 0.9022 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.174, allocations: 3.938 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.174, allocations: 0 / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/0.174, allocations: 92.91 kB / 0.9023 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.174, allocations: 4 kB / 0.9023 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.1741, allocations: 15.98 kB / 0.9023 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.1741, allocations: 0 / 0.9023 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002596/0.1744, allocations: 193.2 kB / 0.9025 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002386/0.1747, allocations: 294.5 kB / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.525e-05/0.1748, allocations: 31.97 kB / 0.9028 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001019/0.1749, allocations: 188.5 kB / 0.903 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of Backend: time 2.6e-07/0.1749, allocations: 0 / 0.903 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005072/0.1754, allocations: 158.7 kB / 0.9031 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004799/0.1759, allocations: 0.7735 MB / 0.9039 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of Templates: time 0.003535/0.1794, allocations: 1.741 MB / 0.9056 GB, free: 58.77 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1)