Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.296/1.296, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.000909/0.000909, allocations: 180.9 kB / 325.9 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205 MB / 0.576 GB, free: 20.58 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.0006392/0.0006392, allocations: 85.38 kB / 0.6797 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002784/0.0002785, allocations: 8.656 kB / 0.7933 GB, free: 136 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.153, allocations: 105.4 MB / 0.8962 GB, free: 67.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.003409/0.1565, allocations: 4.055 MB / 0.9002 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003137/0.1597, allocations: 3.262 MB / 0.9034 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.1598, allocations: 11.94 kB / 0.9034 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.1609, allocations: 498.1 kB / 0.9039 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000557/0.1615, allocations: 350.5 kB / 0.9042 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.1619, allocations: 219.5 kB / 0.9044 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004712/0.1623, allocations: 0.8063 MB / 0.9052 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004724/0.1628, allocations: 489.1 kB / 0.9057 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.163, allocations: 195.1 kB / 0.9058 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.1632, allocations: 243 kB / 0.9061 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.699e-05/0.1633, allocations: 24 kB / 0.9061 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004178/0.1637, allocations: 379.4 kB / 0.9065 GB, free: 57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.014e-05/0.1638, allocations: 131.6 kB / 0.9066 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.1639, allocations: 210.8 kB / 0.9068 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005399/0.1645, allocations: 0.8294 MB / 0.9076 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1645, allocations: 0 / 0.9076 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1645, allocations: 0 / 0.9076 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.1645, allocations: 0 / 0.9076 GB, free: 55.83 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0008399/0.1654, allocations: 0.7178 MB / 0.9083 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.1654, allocations: 12.03 kB / 0.9083 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.886e-05/0.1655, allocations: 70.72 kB / 0.9084 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0023/0.1678, allocations: 0.6906 MB / 0.909 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/0.1683, allocations: 487.7 kB / 0.9095 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.1683, allocations: 25.02 kB / 0.9095 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.313e-05/0.1684, allocations: 35.94 kB / 0.9096 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.1696, allocations: 0.7903 MB / 0.9103 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.1696, allocations: 4 kB / 0.9103 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.1696, allocations: 11.98 kB / 0.9104 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.882e-05/0.1697, allocations: 56.59 kB / 0.9104 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.1713, allocations: 0.8726 MB / 0.9113 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002705/0.174, allocations: 2.858 MB / 0.9141 GB, free: 48.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.1753, allocations: 0.5215 MB / 0.9146 GB, free: 48.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005554/0.1759, allocations: 264.6 kB / 0.9148 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.147e-05/0.176, allocations: 89.09 kB / 0.9149 GB, free: 47.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.176, allocations: 38.44 kB / 0.9149 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.176, allocations: 0 / 0.9149 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.00991/0.1859, allocations: 3.219 MB / 0.9181 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.186, allocations: 77.11 kB / 0.9182 GB, free: 44.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003651/0.1864, allocations: 425.6 kB / 0.9186 GB, free: 44.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.1864, allocations: 25.7 kB / 0.9186 GB, free: 44.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.1865, allocations: 243.7 kB / 0.9188 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.38e-05/0.1866, allocations: 82.83 kB / 0.9189 GB, free: 43.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.1866, allocations: 33.7 kB / 0.9189 GB, free: 43.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.196e-05/0.1867, allocations: 346.8 kB / 0.9193 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007144/0.1874, allocations: 363.5 kB / 0.9196 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007252/0.1882, allocations: 445.3 kB / 0.92 GB, free: 42.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.1896, allocations: 0.7804 MB / 0.9208 GB, free: 41.78 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1896, allocations: 0 / 0.9208 GB, free: 41.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004184/0.1938, allocations: 1.549 MB / 0.9223 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.898e-05/0.1939, allocations: 144.3 kB / 0.9224 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1939, allocations: 3.938 kB / 0.9224 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003246/0.1971, allocations: 0.8558 MB / 0.9233 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/0.1976, allocations: 127.8 kB / 0.9234 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004863/0.2025, allocations: 4.674 MB / 0.928 GB, free: 34.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006261/0.2031, allocations: 115.8 kB / 0.9281 GB, free: 34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.2032, allocations: 16.06 kB / 0.9281 GB, free: 33.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.14e-06/0.2032, allocations: 4 kB / 0.9281 GB, free: 33.98 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003424/0.2066, allocations: 1.265 MB / 0.9293 GB, free: 32.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.2066, allocations: 4 kB / 0.9293 GB, free: 32.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00214/0.2088, allocations: 0.5509 MB / 0.9299 GB, free: 32.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004925/0.2093, allocations: 147.8 kB / 0.93 GB, free: 32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003378/0.2127, allocations: 2.74 MB / 0.9327 GB, free: 29.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005708/0.2133, allocations: 111.8 kB / 0.9328 GB, free: 29.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.2133, allocations: 16 kB / 0.9328 GB, free: 29.01 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000248/0.2136, allocations: 332.1 kB / 0.9331 GB, free: 28.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.2136, allocations: 31.62 kB / 0.9332 GB, free: 28.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003834/0.2175, allocations: 1.43 MB / 0.9346 GB, free: 27.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2175, allocations: 0 / 0.9346 GB, free: 27.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2175, allocations: 4 kB / 0.9346 GB, free: 27.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2175, allocations: 7.938 kB / 0.9346 GB, free: 27.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004459/0.222, allocations: 2.079 MB / 0.9366 GB, free: 25.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.222, allocations: 0 / 0.9366 GB, free: 25.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.2223, allocations: 95.86 kB / 0.9367 GB, free: 24.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00308/0.2254, allocations: 0.7896 MB / 0.9375 GB, free: 24.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/0.2255, allocations: 8 kB / 0.9375 GB, free: 24.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004257/0.2297, allocations: 4.485 MB / 0.9418 GB, free: 19.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2297, allocations: 7.969 kB / 0.9419 GB, free: 19.37 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003648/0.2334, allocations: 1.446 MB / 0.9433 GB, free: 17.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.2336, allocations: 164.8 kB / 0.9434 GB, free: 17.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/0.2336, allocations: 7.938 kB / 0.9434 GB, free: 17.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005137/0.2342, allocations: 99.84 kB / 0.9435 GB, free: 17.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-05/0.2343, allocations: 31.89 kB / 0.9436 GB, free: 17.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.2343, allocations: 11.98 kB / 0.9436 GB, free: 17.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002479/0.2346, allocations: 311.1 kB / 0.9439 GB, free: 17.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2346, allocations: 4 kB / 0.9439 GB, free: 17.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006655/0.2352, allocations: 200 kB / 0.9441 GB, free: 17.06 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003985/0.2392, allocations: 2.004 MB / 0.946 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0035/0.2427, allocations: 1.784 MB / 0.9478 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2428, allocations: 4.125 kB / 0.9478 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009264/0.2437, allocations: 0.6688 MB / 0.9484 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.2443, allocations: 121.3 kB / 0.9485 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/0.2587, allocations: 6.882 MB / 0.9553 GB, free: 5.332 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.2591, allocations: 0.9169 MB / 0.9562 GB, free: 4.387 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005669/0.2596, allocations: 159.2 kB / 0.9563 GB, free: 4.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.2599, allocations: 138.2 kB / 0.9564 GB, free: 4.098 MB / 0.6042 GB Notification: Performance of SimCode: time 4.41e-07/0.2599, allocations: 0 / 0.9564 GB, free: 4.098 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3069/0.5668, allocations: 15.8 MB / 0.9719 GB, free: 4.551 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.567, allocations: 257.3 kB / 0.9721 GB, free: 4.297 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.29/2.857, allocations: 0 / 0.9721 GB, free: 4.297 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)