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.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,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.218/2.218, allocations: 248.5 MB / 261.1 MB, free: 5.961 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.00139/0.001391, allocations: 174.6 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.234/2.234, allocations: 205.2 MB / 0.571 GB, free: 11.77 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.001033/0.001032, allocations: 97.92 kB / 0.6754 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.518e-05/3.535e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1959, allocations: 106.2 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9497/1.146, allocations: 173.4 MB / 1.06 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005122/1.146, allocations: 97.55 kB / 1.06 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4398/1.586, allocations: 77.69 MB / 1.136 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.084e-06/1.586, allocations: 0 / 1.136 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002246/1.586, allocations: 32 kB / 1.136 GB, free: 4.566 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.005911/1.592, allocations: 1.544 MB / 1.138 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/1.592, allocations: 12.03 kB / 1.138 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006901/1.593, allocations: 181.9 kB / 1.138 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01873/1.612, allocations: 1.808 MB / 1.139 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004362/1.616, allocations: 1.146 MB / 1.141 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/1.616, allocations: 90.22 kB / 1.141 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005444/1.617, allocations: 115.9 kB / 1.141 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006325/1.623, allocations: 2.045 MB / 1.143 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-05/1.623, allocations: 15.84 kB / 1.143 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003166/1.624, allocations: 59.95 kB / 1.143 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/1.624, allocations: 74.2 kB / 1.143 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005642/1.63, allocations: 1.605 MB / 1.144 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02617/1.656, allocations: 10.19 MB / 1.154 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003854/1.66, allocations: 1.122 MB / 1.156 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/1.661, allocations: 0.5961 MB / 1.156 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.449e-05/1.662, allocations: 4.438 kB / 1.156 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.26e-05/1.662, allocations: 46.94 kB / 1.156 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=53): time 5.5e-06/1.662, allocations: 4 kB / 1.156 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81): time 0.0399/1.702, allocations: 6.61 MB / 1.163 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/1.702, allocations: 218.4 kB / 1.163 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/1.704, allocations: 0.932 MB / 1.164 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002998/1.704, allocations: 45.7 kB / 1.164 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008104/1.705, allocations: 0.7381 MB / 1.165 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000501/1.706, allocations: 272 kB / 1.165 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/1.706, allocations: 20 kB / 1.165 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001702/1.706, allocations: 345.9 kB / 1.165 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001895/1.708, allocations: 0.6892 MB / 1.166 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002138/1.71, allocations: 0.9341 MB / 1.167 GB, free: 3.891 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002064/1.712, allocations: 0.7477 MB / 1.167 GB, free: 3.141 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/1.712, allocations: 4 kB / 1.167 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.009269/1.722, allocations: 2.495 MB / 1.17 GB, free: 0.6055 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/1.722, allocations: 11.98 kB / 1.17 GB, free: 0.5938 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/1.722, allocations: 4 kB / 1.17 GB, free: 0.5898 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005573/1.727, allocations: 0.862 MB / 1.171 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003834/1.731, allocations: 419.2 kB / 1.171 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03436/1.766, allocations: 14.87 MB / 1.186 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005612/1.771, allocations: 307.6 kB / 1.186 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005634/1.772, allocations: 47.97 kB / 1.186 GB, free: 15 MB / 0.8073 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001141/1.773, allocations: 156.8 kB / 1.186 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/1.774, allocations: 150.2 kB / 1.186 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01903/1.793, allocations: 2.461 MB / 1.189 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.437e-05/1.793, allocations: 11.94 kB / 1.189 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.991e-05/1.793, allocations: 12 kB / 1.189 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.688e-05/1.793, allocations: 7.938 kB / 1.189 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01617/1.81, allocations: 4.221 MB / 1.193 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/1.81, allocations: 4.344 kB / 1.193 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00336/1.813, allocations: 367.4 kB / 1.193 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005466/1.819, allocations: 0.7797 MB / 1.194 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004334/1.819, allocations: 35.91 kB / 1.194 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03807/1.857, allocations: 14.5 MB / 1.208 GB, free: 7.043 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/1.857, allocations: 4 kB / 1.208 GB, free: 7.039 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/1.869, allocations: 2.469 MB / 1.211 GB, free: 4.402 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002052/1.871, allocations: 395.2 kB / 1.211 GB, free: 3.996 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008525/1.872, allocations: 20 kB / 1.211 GB, free: 3.977 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005865/1.878, allocations: 311.5 kB / 1.211 GB, free: 3.672 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006271/1.879, allocations: 80.61 kB / 1.211 GB, free: 3.594 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003129/1.879, allocations: 35.97 kB / 1.211 GB, free: 3.559 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002771/1.882, allocations: 0.7231 MB / 1.212 GB, free: 2.832 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.242e-06/1.882, allocations: 4 kB / 1.212 GB, free: 2.828 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004158/1.886, allocations: 467.9 kB / 1.213 GB, free: 2.371 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01363/1.9, allocations: 3.785 MB / 1.216 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01147/1.911, allocations: 2.856 MB / 1.219 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/1.911, allocations: 0 / 1.219 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.007687/1.919, allocations: 1.977 MB / 1.221 GB, free: 9.41 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005554/1.925, allocations: 488.6 kB / 1.221 GB, free: 8.938 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01831/1.943, allocations: 3.035 MB / 1.224 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002435/1.946, allocations: 1.419 MB / 1.226 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.004185/1.95, allocations: 375.9 kB / 1.226 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002378/1.952, allocations: 0.5969 MB / 1.227 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of SimCode: time 2.675e-06/1.952, allocations: 0 / 1.227 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7519/2.704, allocations: 41.21 MB / 1.267 GB, free: 264.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/2.704, allocations: 181.1 kB / 1.267 GB, free: 264.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.017/6.721, allocations: 0 / 1.267 GB, free: 264.4 MB / 0.8698 GB