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.231/2.231, allocations: 251 MB / 265.9 MB, free: 11.67 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002146/0.002147, allocations: 174.7 kB / 325.5 MB, free: 2.891 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.371/2.371, allocations: 205.4 MB / 0.5764 GB, free: 20.76 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.001155/0.001155, allocations: 93.83 kB / 0.6809 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004778, allocations: 11.88 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2137, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9565/1.17, allocations: 173.4 MB / 1.068 GB, free: 66.88 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005736/1.171, allocations: 101.9 kB / 1.068 GB, free: 66.88 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3195/1.49, allocations: 78.01 MB / 1.144 GB, free: 46.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.096e-06/1.49, allocations: 0 / 1.144 GB, free: 46.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000187/1.491, allocations: 39.19 kB / 1.145 GB, free: 46.53 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.006048/1.497, allocations: 1.769 MB / 1.146 GB, free: 45.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/1.497, allocations: 7.812 kB / 1.146 GB, free: 45.34 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008759/1.498, allocations: 198.6 kB / 1.146 GB, free: 45.26 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0188/1.516, allocations: 1.805 MB / 1.148 GB, free: 44.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005149/1.522, allocations: 1.145 MB / 1.149 GB, free: 43.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/1.522, allocations: 86.48 kB / 1.149 GB, free: 43.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006743/1.523, allocations: 123.8 kB / 1.15 GB, free: 43.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/1.533, allocations: 2.537 MB / 1.152 GB, free: 42.67 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.957e-05/1.533, allocations: 11.72 kB / 1.152 GB, free: 42.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003697/1.534, allocations: 60.06 kB / 1.152 GB, free: 42.65 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000144/1.534, allocations: 83.44 kB / 1.152 GB, free: 42.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01505/1.549, allocations: 2.586 MB / 1.155 GB, free: 41.92 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02281/1.572, allocations: 10.2 MB / 1.165 GB, free: 34.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01154/1.583, allocations: 2.019 MB / 1.167 GB, free: 33.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/1.584, allocations: 4.344 kB / 1.167 GB, free: 33.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/1.584, allocations: 46.53 kB / 1.167 GB, free: 33.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=53): time 3.516e-06/1.584, allocations: 0 / 1.167 GB, free: 33.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=81): time 0.05973/1.643, allocations: 9.225 MB / 1.176 GB, free: 30.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/1.644, allocations: 221.4 kB / 1.176 GB, free: 30.31 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/1.646, allocations: 0.9536 MB / 1.177 GB, free: 30.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003113/1.646, allocations: 40.77 kB / 1.177 GB, free: 29.99 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005779/1.647, allocations: 0.7299 MB / 1.178 GB, free: 29.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004187/1.647, allocations: 275 kB / 1.178 GB, free: 29.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/1.647, allocations: 18.25 kB / 1.178 GB, free: 29.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.556e-05/1.647, allocations: 343.7 kB / 1.178 GB, free: 29.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005494/1.653, allocations: 1.097 MB / 1.179 GB, free: 28.83 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005668/1.659, allocations: 1.344 MB / 1.181 GB, free: 28.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005644/1.664, allocations: 1.149 MB / 1.182 GB, free: 28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/1.664, allocations: 0 / 1.182 GB, free: 28 MB / 0.698 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.0164/1.681, allocations: 3.321 MB / 1.185 GB, free: 26.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/1.681, allocations: 7.75 kB / 1.185 GB, free: 26.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/1.681, allocations: 7.719 kB / 1.185 GB, free: 26.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005574/1.686, allocations: 0.8694 MB / 1.186 GB, free: 26.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00412/1.691, allocations: 424.7 kB / 1.186 GB, free: 25.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02161/1.712, allocations: 15.2 MB / 1.201 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004293/1.717, allocations: 303.6 kB / 1.201 GB, free: 10.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003115/1.717, allocations: 51.95 kB / 1.201 GB, free: 10.87 MB / 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 () * Number of clocked 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.001245/1.718, allocations: 395.4 kB / 1.202 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005324/1.719, allocations: 150.3 kB / 1.202 GB, free: 10.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01606/1.735, allocations: 3.273 MB / 1.205 GB, free: 7.012 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/1.735, allocations: 8 kB / 1.205 GB, free: 7.004 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.641e-05/1.735, allocations: 4 kB / 1.205 GB, free: 7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.238e-05/1.735, allocations: 7.984 kB / 1.205 GB, free: 6.992 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02028/1.755, allocations: 5.046 MB / 1.21 GB, free: 1.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/1.755, allocations: 0 / 1.21 GB, free: 1.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003214/1.759, allocations: 367.3 kB / 1.21 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004806/1.763, allocations: 0.7757 MB / 1.211 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002516/1.764, allocations: 31.95 kB / 1.211 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02442/1.788, allocations: 14.84 MB / 1.226 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.788, allocations: 4 kB / 1.226 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/1.804, allocations: 3.264 MB / 1.229 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/1.806, allocations: 395.1 kB / 1.229 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000569/1.806, allocations: 23.98 kB / 1.229 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004078/1.81, allocations: 311.4 kB / 1.23 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004745/1.811, allocations: 84.48 kB / 1.23 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001928/1.811, allocations: 35.97 kB / 1.23 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001862/1.813, allocations: 0.7366 MB / 1.23 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.81e-07/1.813, allocations: 4 kB / 1.23 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002869/1.816, allocations: 460 kB / 1.231 GB, free: 11.25 MB / 0.7292 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 () * Number of clocked 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.01718/1.833, allocations: 4.599 MB / 1.235 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01609/1.849, allocations: 3.675 MB / 1.239 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.849, allocations: 0 / 1.239 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.009465/1.859, allocations: 2.41 MB / 1.241 GB, free: 232 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00407/1.863, allocations: 482.3 kB / 1.242 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05337/1.916, allocations: 16.27 MB / 1.258 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/1.918, allocations: 1.419 MB / 1.259 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003098/1.921, allocations: 375.9 kB / 1.259 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00177/1.923, allocations: 0.5969 MB / 1.26 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of SimCode: time 9.42e-07/1.923, allocations: 4 kB / 1.26 GB, free: 12.56 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/2.04, allocations: 41.47 MB / 1.3 GB, free: 3.566 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00028/2.04, allocations: 202.4 kB / 1.301 GB, free: 3.328 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.773/5.813, allocations: 0 / 1.301 GB, free: 3.328 MB / 0.7917 GB