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.572/2.572, allocations: 285 MB / 292.5 MB, free: 10.58 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.00153/0.00153, allocations: 184.9 kB / 360.7 MB, free: 7.238 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.031/2.031, allocations: 205.3 MB / 0.6192 GB, free: 12.11 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001127, allocations: 95.77 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.357e-05/2.358e-05, allocations: 0 / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9429/0.9429, allocations: 115.3 MB / 0.9634 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2383/1.181, allocations: 139.1 MB / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/1.182, allocations: 71.95 kB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01526/1.197, allocations: 3.255 MB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.615e-06/1.197, allocations: 0.875 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.508e-05/1.197, allocations: 8 kB / 1.103 GB, free: 14.09 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.001164/1.198, allocations: 428.1 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.4e-05/1.198, allocations: 12.91 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/1.198, allocations: 20.95 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006851/1.199, allocations: 238.2 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/1.199, allocations: 5.922 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/1.199, allocations: 4 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002102/1.2, allocations: 28 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/1.2, allocations: 77.66 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/1.2, allocations: 3.938 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/1.2, allocations: 0 / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/1.2, allocations: 3 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/1.201, allocations: 356.4 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/1.202, allocations: 27.59 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.99e-05/1.202, allocations: 8.922 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/1.202, allocations: 0 / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002921/1.202, allocations: 89.06 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 2.975e-06/1.202, allocations: 0 / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003503/1.202, allocations: 61.48 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/1.203, allocations: 81.11 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005468/1.203, allocations: 194.1 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/1.203, allocations: 25.7 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/1.203, allocations: 135.9 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/1.203, allocations: 3.906 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-06/1.203, allocations: 4 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001777/1.204, allocations: 322.8 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.904e-05/1.204, allocations: 8 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-05/1.204, allocations: 39.41 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.781e-05/1.204, allocations: 8 kB / 1.105 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/1.204, allocations: 9.344 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002274/1.204, allocations: 69.38 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/1.204, allocations: 4 kB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/1.204, allocations: 0 / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/1.204, allocations: 7.953 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/1.205, allocations: 11.98 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/1.205, allocations: 4 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/1.205, allocations: 16.08 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/1.205, allocations: 4 kB / 1.105 GB, free: 11.61 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 0.0001478/1.205, allocations: 108.7 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.553e-05/1.205, allocations: 19.8 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.006e-05/1.205, allocations: 17.56 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/1.205, allocations: 7.953 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.205, allocations: 0 / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/1.205, allocations: 1.406 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/1.206, allocations: 198.1 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.206, allocations: 0 / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/1.206, allocations: 18.92 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/1.206, allocations: 3.984 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/1.206, allocations: 0 / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/1.206, allocations: 0 / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/1.206, allocations: 0 / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/1.206, allocations: 92.89 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/1.207, allocations: 100.9 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/1.207, allocations: 0 / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/1.207, allocations: 11.98 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.55e-05/1.207, allocations: 7.938 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.064e-05/1.207, allocations: 7.984 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000322/1.207, allocations: 152.7 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.51e-07/1.207, allocations: 11.47 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004073/1.208, allocations: 24.08 kB / 1.105 GB, free: 10.77 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.0003102/1.208, allocations: 118.4 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001493/1.208, allocations: 20.12 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.208, allocations: 4.062 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.53e-05/1.208, allocations: 15.92 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/1.209, allocations: 34.39 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005697/1.209, allocations: 183.3 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/1.21, allocations: 0.7275 MB / 1.107 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001058/1.21, allocations: 22.42 kB / 1.107 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.904e-05/1.21, allocations: 15.44 kB / 1.107 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of SimCode: time 7.41e-07/1.21, allocations: 0 / 1.107 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of Templates: time 0.006138/1.216, allocations: 1.456 MB / 1.108 GB, free: 8.18 MB / 0.7136 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)