Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.354/2.354, allocations: 248.7 MB / 256.2 MB, free: 7.129 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.001455/0.001455, allocations: 178.4 kB / 315.4 MB, free: 4.016 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.085/2.085, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 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.001124/0.001123, allocations: 90.45 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.008e-05/3.007e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2272, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9049/1.132, allocations: 155 MB / 1.035 GB, free: 1.441 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003406/1.133, allocations: 95.55 kB / 1.036 GB, free: 1.387 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1566/1.289, allocations: 36.66 MB / 1.071 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.943e-06/1.289, allocations: 0 / 1.071 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.051e-05/1.289, allocations: 20 kB / 1.071 GB, free: 2.75 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002338/1.292, allocations: 0.8642 MB / 1.072 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/1.292, allocations: 8.031 kB / 1.072 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002602/1.294, allocations: 222.7 kB / 1.072 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/1.296, allocations: 0.5308 MB / 1.073 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/1.296, allocations: 20 kB / 1.073 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/1.297, allocations: 39.94 kB / 1.073 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001617/1.298, allocations: 0.5407 MB / 1.074 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/1.3, allocations: 0.9893 MB / 1.075 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-05/1.301, allocations: 7.938 kB / 1.075 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/1.301, allocations: 4 kB / 1.075 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/1.301, allocations: 60.27 kB / 1.075 GB, free: 15.76 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008436/1.309, allocations: 5.627 MB / 1.08 GB, free: 10.22 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/1.311, allocations: 0.5738 MB / 1.081 GB, free: 9.754 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/1.312, allocations: 397.1 kB / 1.081 GB, free: 9.477 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.885e-05/1.312, allocations: 7.938 kB / 1.081 GB, free: 9.469 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/1.312, allocations: 37.06 kB / 1.081 GB, free: 9.426 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 3.466e-06/1.312, allocations: 4 kB / 1.081 GB, free: 9.422 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.003578/1.316, allocations: 1.154 MB / 1.082 GB, free: 8.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/1.316, allocations: 59.39 kB / 1.082 GB, free: 8.449 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005774/1.316, allocations: 328.4 kB / 1.083 GB, free: 8.188 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.67e-05/1.316, allocations: 25.7 kB / 1.083 GB, free: 8.156 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000346/1.317, allocations: 388.1 kB / 1.083 GB, free: 7.848 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/1.317, allocations: 142.8 kB / 1.083 GB, free: 7.723 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/1.317, allocations: 0 / 1.083 GB, free: 7.723 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001954/1.317, allocations: 357.2 kB / 1.083 GB, free: 7.383 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/1.318, allocations: 223.4 kB / 1.084 GB, free: 7.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006791/1.318, allocations: 403.6 kB / 1.084 GB, free: 6.867 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000666/1.319, allocations: 289.1 kB / 1.084 GB, free: 6.676 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/1.319, allocations: 4 kB / 1.084 GB, free: 6.672 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003006/1.322, allocations: 0.9385 MB / 1.085 GB, free: 5.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/1.322, allocations: 8 kB / 1.085 GB, free: 5.922 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/1.322, allocations: 7.953 kB / 1.085 GB, free: 5.914 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/1.324, allocations: 311.8 kB / 1.086 GB, free: 5.652 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006536/1.325, allocations: 87.39 kB / 1.086 GB, free: 5.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/1.335, allocations: 6.837 MB / 1.092 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006818/1.336, allocations: 15.98 kB / 1.092 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.049e-05/1.336, allocations: 23.38 kB / 1.092 GB, free: 14.95 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000203/1.336, allocations: 128.5 kB / 1.092 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002461/1.338, allocations: 0.7926 MB / 1.093 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/1.339, allocations: 55.28 kB / 1.093 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/1.341, allocations: 0.8492 MB / 1.094 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/1.341, allocations: 8 kB / 1.094 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/1.341, allocations: 4 kB / 1.094 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/1.341, allocations: 7.984 kB / 1.094 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004704/1.346, allocations: 1.708 MB / 1.096 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/1.346, allocations: 0 / 1.096 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/1.347, allocations: 47.53 kB / 1.096 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001518/1.348, allocations: 274.8 kB / 1.096 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.619e-05/1.348, allocations: 4 kB / 1.096 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009679/1.358, allocations: 6.557 MB / 1.103 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.358, allocations: 4.062 kB / 1.103 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/1.361, allocations: 0.9672 MB / 1.103 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005067/1.361, allocations: 164.4 kB / 1.104 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.477e-05/1.361, allocations: 4 kB / 1.104 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004754/1.362, allocations: 15.97 kB / 1.104 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.362, allocations: 39.89 kB / 1.104 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/1.362, allocations: 15.95 kB / 1.104 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004318/1.363, allocations: 247 kB / 1.104 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.4e-07/1.363, allocations: 0 / 1.104 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001388/1.364, allocations: 176 kB / 1.104 GB, free: 3.84 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003306/1.367, allocations: 1.925 MB / 1.106 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002945/1.37, allocations: 1.082 MB / 1.107 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.37, allocations: 8.125 kB / 1.107 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002027/1.372, allocations: 0.7685 MB / 1.108 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/1.374, allocations: 166 kB / 1.108 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/1.377, allocations: 1.008 MB / 1.109 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009797/1.378, allocations: 1.008 MB / 1.11 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0005644/1.379, allocations: 100.8 kB / 1.11 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004213/1.379, allocations: 219.4 kB / 1.11 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of SimCode: time 9.62e-07/1.379, allocations: 0 / 1.11 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06983/1.449, allocations: 12.79 MB / 1.123 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002986/1.449, allocations: 142.1 kB / 1.123 GB, free: 428 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.734/4.184, allocations: 3 kB / 1.123 GB, free: 428 kB / 0.7292 GB