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 2.636/2.636, allocations: 287.5 MB / 303.2 MB, free: 8.316 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.001378/0.001378, allocations: 179.8 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0009045/0.0009049, allocations: 95.7 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004778, allocations: 11.91 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1944, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8784/1.073, allocations: 139.8 MB / 1.116 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/1.073, allocations: 82.08 kB / 1.116 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0128/1.086, allocations: 3.291 MB / 1.119 GB, free: 31.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.073e-06/1.086, allocations: 0 / 1.119 GB, free: 31.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.394e-05/1.086, allocations: 3.844 kB / 1.119 GB, free: 31.48 MB / 0.698 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.0007089/1.087, allocations: 456.1 kB / 1.12 GB, free: 31.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/1.087, allocations: 15.53 kB / 1.12 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.021e-05/1.087, allocations: 20.34 kB / 1.12 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/1.087, allocations: 234.1 kB / 1.12 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/1.087, allocations: 7.875 kB / 1.12 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/1.087, allocations: 8.188 kB / 1.12 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/1.088, allocations: 108.6 kB / 1.12 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/1.088, allocations: 192 / 1.12 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/1.088, allocations: 7.5 kB / 1.12 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/1.088, allocations: 4 kB / 1.12 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003934/1.088, allocations: 87.69 kB / 1.12 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007554/1.089, allocations: 400.3 kB / 1.12 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/1.089, allocations: 45 kB / 1.12 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/1.089, allocations: 36.91 kB / 1.121 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/1.089, allocations: 0 / 1.121 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003109/1.09, allocations: 110.6 kB / 1.121 GB, free: 30.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.716e-06/1.09, allocations: 0 / 1.121 GB, free: 30.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.000668/1.09, allocations: 144.5 kB / 1.121 GB, free: 30.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/1.091, allocations: 81.05 kB / 1.121 GB, free: 30.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/1.091, allocations: 246.5 kB / 1.121 GB, free: 30.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/1.091, allocations: 28.64 kB / 1.121 GB, free: 30.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.923e-05/1.091, allocations: 124.8 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/1.091, allocations: 7.688 kB / 1.121 GB, free: 30.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/1.091, allocations: 3.562 kB / 1.121 GB, free: 30.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001632/1.091, allocations: 324.3 kB / 1.122 GB, free: 29.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/1.091, allocations: 30.33 kB / 1.122 GB, free: 29.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/1.092, allocations: 65.16 kB / 1.122 GB, free: 29.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/1.092, allocations: 82.58 kB / 1.122 GB, free: 29.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.092, allocations: 0 / 1.122 GB, free: 29.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005878/1.093, allocations: 117.1 kB / 1.122 GB, free: 29.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.093, allocations: 5.281 kB / 1.122 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/1.093, allocations: 3.656 kB / 1.122 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/1.093, allocations: 0 / 1.122 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/1.093, allocations: 19.83 kB / 1.122 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.093, allocations: 7.875 kB / 1.122 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/1.093, allocations: 25.62 kB / 1.122 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/1.093, allocations: 1.5 kB / 1.122 GB, free: 29.58 MB / 0.698 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.0001544/1.093, allocations: 131.1 kB / 1.122 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/1.093, allocations: 19.5 kB / 1.122 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/1.093, allocations: 23.55 kB / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/1.093, allocations: 0 / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/1.093, allocations: 5.766 kB / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/1.093, allocations: 0 / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/1.094, allocations: 214.8 kB / 1.122 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.094, allocations: 0 / 1.122 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/1.094, allocations: 15.73 kB / 1.122 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/1.094, allocations: 0 / 1.122 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/1.094, allocations: 8.922 kB / 1.122 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.094, allocations: 4 kB / 1.122 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.094, allocations: 3.938 kB / 1.122 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/1.094, allocations: 140 kB / 1.122 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/1.094, allocations: 103.1 kB / 1.123 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/1.094, allocations: 0 / 1.123 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/1.095, allocations: 17.67 kB / 1.123 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/1.095, allocations: 6.938 kB / 1.123 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/1.095, allocations: 3.875 kB / 1.123 GB, free: 29.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002276/1.095, allocations: 185.1 kB / 1.123 GB, free: 28.97 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.095, allocations: 4 kB / 1.123 GB, free: 28.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003028/1.095, allocations: 23.44 kB / 1.123 GB, free: 28.96 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002665/1.096, allocations: 120.2 kB / 1.123 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004381/1.096, allocations: 76.8 kB / 1.123 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.096, allocations: 0 / 1.123 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/1.096, allocations: 38.27 kB / 1.123 GB, free: 28.85 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/1.097, allocations: 34.11 kB / 1.123 GB, free: 28.85 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006575/1.097, allocations: 327 kB / 1.123 GB, free: 28.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/1.098, allocations: 0.7132 MB / 1.124 GB, free: 27.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001054/1.098, allocations: 26.03 kB / 1.124 GB, free: 27.94 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/1.098, allocations: 15.19 kB / 1.124 GB, free: 27.93 MB / 0.698 GB Notification: Performance of SimCode: time 8.61e-07/1.098, allocations: 0 / 1.124 GB, free: 27.93 MB / 0.698 GB Notification: Performance of Templates: time 0.005776/1.104, allocations: 1.607 MB / 1.126 GB, free: 27.76 MB / 0.698 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)