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_R.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_R,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.203/2.203, allocations: 248.7 MB / 256.2 MB, free: 7.082 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.00148/0.00148, allocations: 193.1 kB / 315.4 MB, free: 3.996 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.102/2.102, allocations: 205.3 MB / 0.5662 GB, free: 0.5938 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.00107/0.001069, allocations: 94.45 kB / 0.6704 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.822e-05/2.821e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1965, allocations: 106.2 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9599/1.156, allocations: 153.8 MB / 1.034 GB, free: 2.555 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004355/1.157, allocations: 91.19 kB / 1.034 GB, free: 2.504 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1589/1.316, allocations: 36.41 MB / 1.07 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.525e-06/1.316, allocations: 0 / 1.07 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.298e-05/1.316, allocations: 24 kB / 1.07 GB, free: 4.004 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003027/1.319, allocations: 0.9592 MB / 1.071 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/1.319, allocations: 8.031 kB / 1.071 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002656/1.322, allocations: 230.8 kB / 1.071 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/1.324, allocations: 0.5418 MB / 1.072 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.141e-05/1.324, allocations: 20 kB / 1.072 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/1.324, allocations: 43.31 kB / 1.072 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001744/1.326, allocations: 0.6007 MB / 1.072 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/1.328, allocations: 1.011 MB / 1.073 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/1.328, allocations: 7.938 kB / 1.073 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/1.328, allocations: 7.984 kB / 1.073 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/1.328, allocations: 53.23 kB / 1.073 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008754/1.337, allocations: 5.762 MB / 1.079 GB, free: 11.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/1.339, allocations: 0.5243 MB / 1.079 GB, free: 10.85 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006931/1.339, allocations: 306.9 kB / 1.08 GB, free: 10.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.443e-05/1.34, allocations: 4.438 kB / 1.08 GB, free: 10.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/1.34, allocations: 42.62 kB / 1.08 GB, free: 10.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 3.227e-06/1.34, allocations: 0 / 1.08 GB, free: 10.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.00366/1.343, allocations: 1.162 MB / 1.081 GB, free: 9.695 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/1.343, allocations: 63.34 kB / 1.081 GB, free: 9.625 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007367/1.344, allocations: 400.6 kB / 1.081 GB, free: 9.312 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/1.344, allocations: 25.7 kB / 1.081 GB, free: 9.281 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/1.345, allocations: 409.6 kB / 1.082 GB, free: 8.969 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/1.345, allocations: 170.6 kB / 1.082 GB, free: 8.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/1.345, allocations: 0 / 1.082 GB, free: 8.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001828/1.345, allocations: 362.9 kB / 1.082 GB, free: 8.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006007/1.346, allocations: 251.1 kB / 1.083 GB, free: 8.324 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000759/1.347, allocations: 437 kB / 1.083 GB, free: 7.926 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007366/1.347, allocations: 324.2 kB / 1.083 GB, free: 7.711 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/1.347, allocations: 0 / 1.083 GB, free: 7.711 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002883/1.35, allocations: 0.965 MB / 1.084 GB, free: 6.957 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/1.35, allocations: 4 kB / 1.084 GB, free: 6.953 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/1.35, allocations: 12.03 kB / 1.084 GB, free: 6.941 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/1.352, allocations: 270.1 kB / 1.085 GB, free: 6.715 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009551/1.353, allocations: 119.6 kB / 1.085 GB, free: 6.602 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009121/1.362, allocations: 6.324 MB / 1.091 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/1.363, allocations: 23.97 kB / 1.091 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.037e-05/1.363, allocations: 26.75 kB / 1.091 GB, free: 388 kB / 0.698 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 (63): * Single equations (assignments): 59 * 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%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002128/1.363, allocations: 122.5 kB / 1.091 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002219/1.365, allocations: 0.7922 MB / 1.092 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/1.366, allocations: 59.34 kB / 1.092 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/1.368, allocations: 0.8268 MB / 1.093 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/1.368, allocations: 4 kB / 1.093 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.368, allocations: 4 kB / 1.093 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/1.368, allocations: 3.984 kB / 1.093 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003996/1.372, allocations: 1.569 MB / 1.094 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.372, allocations: 4.188 kB / 1.094 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/1.373, allocations: 63.64 kB / 1.094 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001331/1.374, allocations: 268.8 kB / 1.094 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/1.374, allocations: 0 / 1.094 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008914/1.383, allocations: 6.306 MB / 1.101 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/1.383, allocations: 0 / 1.101 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/1.386, allocations: 0.9977 MB / 1.102 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004794/1.386, allocations: 187.2 kB / 1.102 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/1.386, allocations: 4.188 kB / 1.102 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006284/1.387, allocations: 23.97 kB / 1.102 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/1.387, allocations: 42.38 kB / 1.102 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.271e-05/1.387, allocations: 23.39 kB / 1.102 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004901/1.388, allocations: 295.7 kB / 1.102 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.81e-07/1.388, allocations: 0 / 1.102 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001199/1.389, allocations: 196 kB / 1.102 GB, free: 5.684 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 (31): * Single equations (assignments): 27 * 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%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003024/1.392, allocations: 1.975 MB / 1.104 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00308/1.395, allocations: 1.173 MB / 1.105 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.395, allocations: 0 / 1.105 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002009/1.397, allocations: 0.8387 MB / 1.106 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/1.399, allocations: 164 kB / 1.106 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/1.402, allocations: 1.088 MB / 1.107 GB, free: 308 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000902/1.403, allocations: 1.028 MB / 1.108 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0007294/1.404, allocations: 109.4 kB / 1.109 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004807/1.404, allocations: 247.3 kB / 1.109 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.453e-06/1.404, allocations: 0 / 1.109 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06611/1.47, allocations: 14.51 MB / 1.123 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002873/1.471, allocations: 145.8 kB / 1.123 GB, free: 324 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.92/4.391, allocations: 0 / 1.123 GB, free: 324 kB / 0.7292 GB