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.27/2.27, allocations: 248.5 MB / 261 MB, free: 6.035 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.001433/0.001433, allocations: 184.3 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.2 MB / 0.571 GB, free: 11.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 89.88 kB / 0.6754 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.642e-05/4.645e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2308, allocations: 106.3 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9598/1.191, allocations: 153.5 MB / 1.041 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/1.191, allocations: 94.75 kB / 1.041 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1616/1.353, allocations: 36.54 MB / 1.076 GB, free: 16 kB / 0.6823 GB Notification: Performance of FrontEnd: time 1.944e-06/1.353, allocations: 0 / 1.076 GB, free: 16 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001028/1.353, allocations: 24.03 kB / 1.076 GB, free: 15.99 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003041/1.356, allocations: 0.9525 MB / 1.077 GB, free: 15.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/1.356, allocations: 19.97 kB / 1.077 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004783/1.356, allocations: 118 kB / 1.077 GB, free: 14.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002772/1.359, allocations: 230.8 kB / 1.078 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/1.361, allocations: 0.5377 MB / 1.078 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.543e-05/1.361, allocations: 53.92 kB / 1.078 GB, free: 14.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/1.361, allocations: 64.81 kB / 1.078 GB, free: 14.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002807/1.364, allocations: 1.125 MB / 1.079 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.64e-05/1.364, allocations: 3.938 kB / 1.079 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/1.365, allocations: 34.31 kB / 1.079 GB, free: 13.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001351/1.365, allocations: 52.34 kB / 1.08 GB, free: 13.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002199/1.367, allocations: 0.7274 MB / 1.08 GB, free: 12.56 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009781/1.377, allocations: 5.913 MB / 1.086 GB, free: 6.816 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/1.378, allocations: 0.5519 MB / 1.087 GB, free: 6.434 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007452/1.379, allocations: 330.6 kB / 1.087 GB, free: 6.227 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.647e-05/1.379, allocations: 4.438 kB / 1.087 GB, free: 6.223 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/1.379, allocations: 45.67 kB / 1.087 GB, free: 6.172 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 2.886e-06/1.379, allocations: 0 / 1.087 GB, free: 6.172 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.003767/1.383, allocations: 1.222 MB / 1.088 GB, free: 5.227 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/1.383, allocations: 59.83 kB / 1.088 GB, free: 5.156 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009822/1.384, allocations: 489.7 kB / 1.089 GB, free: 4.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/1.384, allocations: 37.64 kB / 1.089 GB, free: 4.727 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/1.385, allocations: 399.2 kB / 1.089 GB, free: 4.332 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/1.385, allocations: 169.6 kB / 1.089 GB, free: 4.164 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-05/1.385, allocations: 16 kB / 1.089 GB, free: 4.148 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002128/1.385, allocations: 374.7 kB / 1.09 GB, free: 3.773 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007316/1.386, allocations: 265.5 kB / 1.09 GB, free: 3.512 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009436/1.387, allocations: 452.2 kB / 1.09 GB, free: 2.988 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000897/1.388, allocations: 335 kB / 1.091 GB, free: 2.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/1.388, allocations: 4 kB / 1.091 GB, free: 2.656 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003182/1.391, allocations: 1.044 MB / 1.092 GB, free: 1.594 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/1.391, allocations: 8 kB / 1.092 GB, free: 1.586 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/1.391, allocations: 4 kB / 1.092 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/1.393, allocations: 275.8 kB / 1.092 GB, free: 1.301 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009757/1.394, allocations: 123.7 kB / 1.092 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009942/1.404, allocations: 6.584 MB / 1.098 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/1.405, allocations: 31.97 kB / 1.098 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.935e-05/1.405, allocations: 28 kB / 1.098 GB, free: 10 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 (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.0002479/1.405, allocations: 142.9 kB / 1.099 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/1.406, allocations: 71.34 kB / 1.099 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/1.408, allocations: 0.8806 MB / 1.1 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/1.408, allocations: 7.984 kB / 1.1 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/1.408, allocations: 11.94 kB / 1.1 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/1.408, allocations: 3.984 kB / 1.1 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004806/1.413, allocations: 1.702 MB / 1.101 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/1.413, allocations: 8.188 kB / 1.101 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005647/1.414, allocations: 59.89 kB / 1.101 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001439/1.415, allocations: 263.2 kB / 1.102 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.605e-05/1.415, allocations: 15.95 kB / 1.102 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009854/1.425, allocations: 6.561 MB / 1.108 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/1.425, allocations: 4.031 kB / 1.108 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002888/1.428, allocations: 1.033 MB / 1.109 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006125/1.429, allocations: 196.2 kB / 1.109 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/1.429, allocations: 15.92 kB / 1.109 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000688/1.43, allocations: 27.97 kB / 1.109 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/1.43, allocations: 51.89 kB / 1.109 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.629e-05/1.43, allocations: 19.94 kB / 1.109 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000739/1.431, allocations: 371.2 kB / 1.11 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.52e-07/1.431, allocations: 0 / 1.11 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001215/1.432, allocations: 235.9 kB / 1.11 GB, free: 13.6 MB / 0.7292 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.003399/1.435, allocations: 2.024 MB / 1.112 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00345/1.439, allocations: 1.236 MB / 1.113 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/1.439, allocations: 4 kB / 1.113 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002216/1.441, allocations: 0.8775 MB / 1.114 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/1.443, allocations: 190.9 kB / 1.114 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/1.447, allocations: 1.145 MB / 1.115 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009476/1.448, allocations: 1.02 MB / 1.116 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0008157/1.449, allocations: 121.9 kB / 1.116 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005288/1.449, allocations: 255.4 kB / 1.117 GB, free: 6.453 MB / 0.7292 GB Notification: Performance of SimCode: time 1.262e-06/1.449, allocations: 3.938 kB / 1.117 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05971/1.509, allocations: 16.21 MB / 1.132 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002925/1.509, allocations: 185.7 kB / 1.133 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.912/4.421, allocations: 4 kB / 1.133 GB, free: 6.27 MB / 0.7448 GB