Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.JSONWriter,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_IO_Files_Examples_JSONWriter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.356/2.356, allocations: 248.7 MB / 256.2 MB, free: 7.023 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 174.4 kB / 315.4 MB, free: 4.02 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.115/2.115, allocations: 205.3 MB / 0.5662 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.00112, allocations: 88.38 kB / 0.6704 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.556e-05/2.559e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2071, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8648/1.072, allocations: 133.7 MB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/1.072, allocations: 74.83 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01447/1.087, allocations: 3.255 MB / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.814e-06/1.087, allocations: 0 / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.477e-05/1.087, allocations: 7.938 kB / 1.018 GB, free: 2.305 MB / 0.6355 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.0007166/1.088, allocations: 429.8 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/1.088, allocations: 8.031 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/1.088, allocations: 19.8 kB / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/1.088, allocations: 239.1 kB / 1.019 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/1.088, allocations: 4 kB / 1.019 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/1.088, allocations: 8 kB / 1.019 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001466/1.088, allocations: 35.42 kB / 1.019 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/1.089, allocations: 69.11 kB / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/1.089, allocations: 0 / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/1.089, allocations: 0 / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/1.089, allocations: 4 kB / 1.019 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008197/1.089, allocations: 367.3 kB / 1.019 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.84e-05/1.09, allocations: 18.58 kB / 1.019 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.283e-05/1.09, allocations: 16.8 kB / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/1.09, allocations: 7.891 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/1.09, allocations: 80.67 kB / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.194e-06/1.09, allocations: 0 / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002186/1.09, allocations: 61.38 kB / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/1.09, allocations: 77.11 kB / 1.019 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/1.091, allocations: 200.1 kB / 1.02 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/1.091, allocations: 25.7 kB / 1.02 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.808e-05/1.091, allocations: 130.7 kB / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/1.091, allocations: 7.891 kB / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/1.091, allocations: 4 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.091, allocations: 326.6 kB / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.812e-05/1.091, allocations: 11.75 kB / 1.02 GB, free: 148 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.698e-05/1.091, allocations: 31.06 kB / 1.02 GB, free: 108 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.643e-05/1.091, allocations: 11.92 kB / 1.02 GB, free: 100 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.091, allocations: 4.031 kB / 1.02 GB, free: 96 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001732/1.091, allocations: 65.38 kB / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/1.091, allocations: 11.95 kB / 1.02 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/1.091, allocations: 0 / 1.02 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/1.091, allocations: 0 / 1.02 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/1.092, allocations: 15.98 kB / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.092, allocations: 0 / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/1.092, allocations: 20.08 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/1.092, allocations: 3.938 kB / 1.02 GB, free: 15.98 MB / 0.6511 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 9.645e-05/1.092, allocations: 109.1 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001535/1.092, allocations: 77.02 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/1.092, allocations: 19.77 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.895e-05/1.092, allocations: 17.36 kB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/1.092, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.092, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/1.092, allocations: 4 kB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/1.092, allocations: 193.3 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.092, allocations: 0 / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/1.093, allocations: 15.98 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/1.093, allocations: 0 / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/1.093, allocations: 3.953 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/1.093, allocations: 0 / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.093, allocations: 0 / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/1.093, allocations: 92.62 kB / 1.021 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.886e-05/1.093, allocations: 92.91 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/1.093, allocations: 0 / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/1.093, allocations: 23.94 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/1.093, allocations: 11.73 kB / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/1.093, allocations: 4 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002047/1.094, allocations: 163.4 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.094, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003334/1.094, allocations: 20 kB / 1.021 GB, free: 15.12 MB / 0.6511 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.0006886/1.095, allocations: 0.6425 MB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001498/1.095, allocations: 27.69 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.095, allocations: 0 / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.027e-05/1.095, allocations: 11.98 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/1.095, allocations: 37.5 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007671/1.096, allocations: 234.5 kB / 1.022 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/1.096, allocations: 0.7352 MB / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001177/1.097, allocations: 12.66 kB / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/1.097, allocations: 49.97 kB / 1.023 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/1.097, allocations: 0 / 1.023 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04479/1.141, allocations: 2.723 MB / 1.025 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/1.142, allocations: 138.3 kB / 1.025 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/3.572, allocations: 0 / 1.025 GB, free: 10.46 MB / 0.6511 GB