Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.429/1.429, allocations: 288.4 MB / 303.6 MB, free: 8.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008564/0.0008564, allocations: 181.3 kB / 372.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.079/1.079, allocations: 205.4 MB / 0.631 GB, free: 9.762 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006797/0.0006798, allocations: 94.28 kB / 0.7444 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003183, allocations: 11.88 kB / 0.8676 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1409, allocations: 115.3 MB / 0.9802 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.003826/0.1448, allocations: 4.556 MB / 0.9847 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003458/0.1483, allocations: 3.517 MB / 0.9881 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.1485, allocations: 11.94 kB / 0.9881 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006338/0.1491, allocations: 215.1 kB / 0.9883 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007413/0.1499, allocations: 392.5 kB / 0.9887 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.1504, allocations: 208.7 kB / 0.9889 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007506/0.1511, allocations: 0.771 MB / 0.9896 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008852/0.152, allocations: 0.8139 MB / 0.9904 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.1522, allocations: 195.2 kB / 0.9906 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002681/0.1525, allocations: 263 kB / 0.9909 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.1525, allocations: 24 kB / 0.9909 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005584/0.1531, allocations: 459.3 kB / 0.9913 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.126e-05/0.1532, allocations: 139.6 kB / 0.9915 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.1534, allocations: 228.7 kB / 0.9917 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004924/0.1539, allocations: 0.7637 MB / 0.9924 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1539, allocations: 0 / 0.9924 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1539, allocations: 0 / 0.9924 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1539, allocations: 0 / 0.9924 GB, free: 14.61 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.000953/0.1548, allocations: 0.7636 MB / 0.9932 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.1549, allocations: 8.031 kB / 0.9932 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.402e-05/0.1549, allocations: 74.72 kB / 0.9932 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002442/0.1574, allocations: 0.7101 MB / 0.9939 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007075/0.1581, allocations: 0.5509 MB / 0.9945 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1581, allocations: 24.97 kB / 0.9945 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.817e-05/0.1582, allocations: 39.92 kB / 0.9945 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.1595, allocations: 0.8434 MB / 0.9954 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1595, allocations: 0 / 0.9954 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.596e-05/0.1595, allocations: 12 kB / 0.9954 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001764/0.1597, allocations: 72.5 kB / 0.9954 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.1614, allocations: 0.9467 MB / 0.9964 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00285/0.1642, allocations: 2.952 MB / 0.9992 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.1656, allocations: 0.5683 MB / 0.9998 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006207/0.1663, allocations: 316.6 kB / 1 GB, free: 6.379 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.415e-05/0.1663, allocations: 85.11 kB / 1 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/0.1664, allocations: 38.5 kB / 1 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.715e-06/0.1664, allocations: 0 / 1 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36): time 0.01174/0.1781, allocations: 4.078 MB / 1.004 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.1782, allocations: 84.97 kB / 1.004 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.1785, allocations: 457.5 kB / 1.005 GB, free: 1.562 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.1786, allocations: 33.7 kB / 1.005 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.306e-05/0.1787, allocations: 236.2 kB / 1.005 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.022e-05/0.1787, allocations: 130.2 kB / 1.005 GB, free: 1.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.1788, allocations: 4 kB / 1.005 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.1788, allocations: 350.8 kB / 1.005 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008014/0.1796, allocations: 444.5 kB / 1.006 GB, free: 380 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008758/0.1805, allocations: 0.5212 MB / 1.006 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.1824, allocations: 0.9585 MB / 1.007 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.1824, allocations: 3.938 kB / 1.007 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005461/0.1879, allocations: 1.92 MB / 1.009 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-05/0.188, allocations: 147.8 kB / 1.009 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.188, allocations: 0 / 1.009 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004402/0.1924, allocations: 1.098 MB / 1.01 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/0.1929, allocations: 127.8 kB / 1.011 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008973/0.2019, allocations: 6.402 MB / 1.017 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007143/0.2027, allocations: 119.9 kB / 1.017 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/0.2027, allocations: 19.98 kB / 1.017 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/0.2027, allocations: 5.875 kB / 1.017 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004567/0.2073, allocations: 1.633 MB / 1.019 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2073, allocations: 4 kB / 1.019 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003067/0.2104, allocations: 0.8015 MB / 1.019 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/0.211, allocations: 139.8 kB / 1.019 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006974/0.2179, allocations: 5.554 MB / 1.025 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006715/0.2186, allocations: 116.2 kB / 1.025 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.2187, allocations: 15.94 kB / 1.025 GB, free: 12.13 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003329/0.219, allocations: 340.9 kB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.2191, allocations: 43.53 kB / 1.025 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005051/0.2242, allocations: 1.832 MB / 1.027 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2242, allocations: 4 kB / 1.027 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.2242, allocations: 4.094 kB / 1.027 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.2242, allocations: 3.984 kB / 1.027 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005764/0.23, allocations: 2.569 MB / 1.03 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.23, allocations: 0 / 1.03 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/0.2304, allocations: 95.98 kB / 1.03 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003879/0.2343, allocations: 1.02 MB / 1.031 GB, free: 6.121 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.2343, allocations: 12 kB / 1.031 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007918/0.2422, allocations: 6.063 MB / 1.037 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2423, allocations: 0 / 1.037 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004775/0.247, allocations: 1.798 MB / 1.038 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.2473, allocations: 192.5 kB / 1.039 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.2474, allocations: 11.94 kB / 1.039 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000581/0.2479, allocations: 95.84 kB / 1.039 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.2481, allocations: 39.83 kB / 1.039 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.2481, allocations: 15.98 kB / 1.039 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003251/0.2484, allocations: 339.1 kB / 1.039 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2484, allocations: 0 / 1.039 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008395/0.2493, allocations: 288 kB / 1.039 GB, free: 12.96 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.005298/0.2546, allocations: 2.401 MB / 1.042 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005746/0.2604, allocations: 2.54 MB / 1.044 GB, free: 7.926 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2604, allocations: 0 / 1.044 GB, free: 7.926 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002252/0.2626, allocations: 0.985 MB / 1.045 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00062/0.2633, allocations: 124.5 kB / 1.045 GB, free: 6.797 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009914/0.2732, allocations: 5.098 MB / 1.05 GB, free: 1.605 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.2737, allocations: 0.9531 MB / 1.051 GB, free: 0.625 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004799/0.2742, allocations: 155.3 kB / 1.051 GB, free: 484 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.2744, allocations: 151.4 kB / 1.051 GB, free: 332 kB / 0.6667 GB Notification: Performance of SimCode: time 2.2e-07/0.2744, allocations: 0 / 1.051 GB, free: 332 kB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.8/4.074, allocations: 21.02 MB / 1.072 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/4.075, allocations: 250.9 kB / 1.072 GB, free: 85.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.376/8.451, allocations: 0.6875 kB / 1.072 GB, free: 85.62 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)