Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.753/1.753, allocations: 285.6 MB / 293.1 MB, free: 10.28 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.001168/0.001168, allocations: 180.8 kB / 361.4 MB, free: 6.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 1.691/1.691, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009816/0.0009823, allocations: 92.28 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.457e-05/2.458e-05, allocations: 4 kB / 0.8517 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7912/0.7912, allocations: 115.3 MB / 0.9644 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2149/1.006, allocations: 139.3 MB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/1.006, allocations: 76.7 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009673/1.016, allocations: 3.253 MB / 1.104 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.503e-06/1.016, allocations: 0.5625 kB / 1.104 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.184e-05/1.016, allocations: 4 kB / 1.104 GB, free: 13.29 MB / 0.7136 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.0006631/1.017, allocations: 425 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/1.017, allocations: 8.031 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.79e-05/1.017, allocations: 22.44 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/1.017, allocations: 243.4 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/1.017, allocations: 0 / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/1.018, allocations: 4 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001098/1.018, allocations: 31.98 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/1.018, allocations: 77.92 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/1.018, allocations: 3.938 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/1.018, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/1.018, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006455/1.019, allocations: 364.9 kB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.106e-05/1.019, allocations: 22.58 kB / 1.105 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.014e-05/1.019, allocations: 8.922 kB / 1.105 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/1.019, allocations: 7.984 kB / 1.105 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/1.019, allocations: 77.73 kB / 1.105 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/1.019, allocations: 0 / 1.105 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001944/1.019, allocations: 73.39 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/1.019, allocations: 77.11 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/1.019, allocations: 194.1 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/1.019, allocations: 29.7 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/1.019, allocations: 131.9 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/1.019, allocations: 11.91 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/1.019, allocations: 0 / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.02, allocations: 322.8 kB / 1.106 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.592e-05/1.02, allocations: 11.98 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.43e-05/1.02, allocations: 27.44 kB / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.923e-05/1.02, allocations: 12.03 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/1.02, allocations: 0 / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001046/1.02, allocations: 74.59 kB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.02, allocations: 4 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/1.02, allocations: 4 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.362e-05/1.02, allocations: 0 / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/1.02, allocations: 24.03 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/1.02, allocations: 5.859 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.219e-05/1.02, allocations: 15.98 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-06/1.02, allocations: 0 / 1.106 GB, free: 10.82 MB / 0.7136 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 () * 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 8.88e-05/1.02, allocations: 112.9 kB / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/1.02, allocations: 11.81 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/1.02, allocations: 17.56 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/1.02, allocations: 4 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.02, allocations: 3.953 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.02, allocations: 6.328 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/1.021, allocations: 194.1 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.021, allocations: 0 / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.044e-05/1.021, allocations: 15.98 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.021, allocations: 0 / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/1.021, allocations: 0 / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.021, allocations: 0 / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.021, allocations: 4 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/1.021, allocations: 88.89 kB / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/1.021, allocations: 100.9 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/1.021, allocations: 0 / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.741e-05/1.021, allocations: 11.98 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/1.021, allocations: 11.92 kB / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/1.021, allocations: 8 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001417/1.021, allocations: 160.6 kB / 1.107 GB, free: 10 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/1.021, allocations: 0 / 1.107 GB, free: 10 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002102/1.022, allocations: 24.12 kB / 1.107 GB, free: 9.98 MB / 0.7136 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 () * 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.0002597/1.022, allocations: 129.6 kB / 1.107 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001016/1.022, allocations: 19.98 kB / 1.107 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.022, allocations: 0 / 1.107 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-05/1.022, allocations: 15.94 kB / 1.107 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/1.022, allocations: 40.94 kB / 1.107 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004135/1.023, allocations: 187 kB / 1.107 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/1.023, allocations: 0.7237 MB / 1.108 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.482e-05/1.023, allocations: 18.77 kB / 1.108 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/1.023, allocations: 11.44 kB / 1.108 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/1.023, allocations: 0 / 1.108 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of Templates: time 0.004091/1.027, allocations: 1.459 MB / 1.109 GB, free: 7.387 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1)