Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.557/2.557, allocations: 287.5 MB / 302.5 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001502, allocations: 187.6 kB / 371 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.4 MB / 0.6297 GB, free: 10.47 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 83.53 kB / 0.743 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004998/0.0004998, allocations: 12.67 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2191, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9022/1.121, allocations: 139.8 MB / 1.115 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/1.122, allocations: 87.09 kB / 1.115 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01346/1.135, allocations: 3.275 MB / 1.118 GB, free: 31.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.993e-06/1.135, allocations: 0 / 1.118 GB, free: 31.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.166e-05/1.135, allocations: 4 kB / 1.118 GB, free: 31.23 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.000737/1.136, allocations: 467.4 kB / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/1.136, allocations: 14.12 kB / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/1.136, allocations: 19.44 kB / 1.119 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/1.136, allocations: 235 kB / 1.119 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/1.136, allocations: 2.812 kB / 1.119 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/1.137, allocations: 3.844 kB / 1.119 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004088/1.137, allocations: 114.7 kB / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/1.137, allocations: 3.844 kB / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/1.137, allocations: 3.438 kB / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/1.137, allocations: 0 / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/1.137, allocations: 79.7 kB / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008045/1.138, allocations: 393.3 kB / 1.119 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/1.138, allocations: 46.3 kB / 1.12 GB, free: 30.24 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/1.138, allocations: 0 / 1.12 GB, free: 30.24 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003451/1.139, allocations: 117.4 kB / 1.12 GB, free: 30.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/1.139, allocations: 0 / 1.12 GB, free: 30.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0007175/1.14, allocations: 140.2 kB / 1.12 GB, free: 30.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/1.14, allocations: 80.95 kB / 1.12 GB, free: 30.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/1.14, allocations: 220.9 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/1.14, allocations: 29.08 kB / 1.12 GB, free: 29.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.635e-05/1.14, allocations: 127.2 kB / 1.12 GB, free: 29.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/1.14, allocations: 6.781 kB / 1.12 GB, free: 29.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/1.14, allocations: 3.906 kB / 1.12 GB, free: 29.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.14, allocations: 326.9 kB / 1.121 GB, free: 29.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/1.141, allocations: 28.08 kB / 1.121 GB, free: 29.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/1.141, allocations: 62.34 kB / 1.121 GB, free: 29.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/1.141, allocations: 34.78 kB / 1.121 GB, free: 29.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.141, allocations: 0 / 1.121 GB, free: 29.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004758/1.141, allocations: 117 kB / 1.121 GB, free: 29.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.142, allocations: 11.55 kB / 1.121 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/1.142, allocations: 96 / 1.121 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/1.142, allocations: 7.922 kB / 1.121 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/1.142, allocations: 17.69 kB / 1.121 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/1.142, allocations: 3.844 kB / 1.121 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/1.142, allocations: 25.89 kB / 1.121 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/1.142, allocations: 3.906 kB / 1.121 GB, free: 29.38 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.0001585/1.142, allocations: 128 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/1.142, allocations: 19.22 kB / 1.121 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/1.142, allocations: 19.28 kB / 1.121 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/1.142, allocations: 0 / 1.121 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.142, allocations: 5.812 kB / 1.121 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.142, allocations: 3.938 kB / 1.121 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/1.143, allocations: 213.3 kB / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/1.143, allocations: 7.781 kB / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/1.143, allocations: 11.08 kB / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/1.143, allocations: 3.844 kB / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/1.143, allocations: 7.5 kB / 1.121 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/1.143, allocations: 3.953 kB / 1.121 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.143, allocations: 0 / 1.121 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/1.143, allocations: 136 kB / 1.121 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.294e-05/1.143, allocations: 94.91 kB / 1.121 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/1.143, allocations: 3.844 kB / 1.121 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/1.144, allocations: 16.22 kB / 1.121 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/1.144, allocations: 14.09 kB / 1.121 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/1.144, allocations: 3.875 kB / 1.121 GB, free: 28.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002331/1.144, allocations: 179 kB / 1.122 GB, free: 28.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.624e-06/1.144, allocations: 0 / 1.122 GB, free: 28.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002988/1.144, allocations: 28.7 kB / 1.122 GB, free: 28.77 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.0002837/1.145, allocations: 121.8 kB / 1.122 GB, free: 28.67 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000459/1.145, allocations: 68.2 kB / 1.122 GB, free: 28.67 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.145, allocations: 0 / 1.122 GB, free: 28.67 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/1.145, allocations: 41.52 kB / 1.122 GB, free: 28.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/1.146, allocations: 35.91 kB / 1.122 GB, free: 28.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006863/1.146, allocations: 320.4 kB / 1.122 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/1.147, allocations: 0.7269 MB / 1.123 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001018/1.147, allocations: 18.39 kB / 1.123 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.744e-05/1.147, allocations: 15.16 kB / 1.123 GB, free: 27.74 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/1.147, allocations: 0 / 1.123 GB, free: 27.74 MB / 0.698 GB Notification: Performance of Templates: time 0.007174/1.154, allocations: 1.611 MB / 1.125 GB, free: 27.57 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)