Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.734/1.734, allocations: 287.4 MB / 302.6 MB, free: 8.211 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.001158/0.001158, allocations: 174.2 kB / 371.1 MB, free: 10.81 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.551/1.551, allocations: 205.4 MB / 0.6298 GB, free: 10.52 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.0008495/0.0008494, allocations: 102 kB / 0.7431 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003727, allocations: 15 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1754, allocations: 115.3 MB / 0.9787 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.004506/0.18, allocations: 5.437 MB / 0.9841 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003447/0.1834, allocations: 3.038 MB / 0.987 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004146/0.1839, allocations: 23.81 kB / 0.987 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.1842, allocations: 122.9 kB / 0.9872 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008411/0.1851, allocations: 374 kB / 0.9875 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008226/0.1859, allocations: 376.9 kB / 0.9879 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009803/0.1869, allocations: 1.225 MB / 0.9891 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.1882, allocations: 0.9707 MB / 0.99 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004826/0.1887, allocations: 366.4 kB / 0.9904 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004822/0.1892, allocations: 434.4 kB / 0.9908 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.737e-05/0.1893, allocations: 32 kB / 0.9908 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004711/0.1898, allocations: 259.6 kB / 0.9911 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.19, allocations: 247.3 kB / 0.9913 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.1901, allocations: 161.3 kB / 0.9915 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006344/0.1907, allocations: 0.8769 MB / 0.9923 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1907, allocations: 0 / 0.9923 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1907, allocations: 0 / 0.9923 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.8e-05/0.1908, allocations: 0 / 0.9923 GB, free: 14.09 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001066/0.1918, allocations: 0.927 MB / 0.9932 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1919, allocations: 8.031 kB / 0.9932 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/0.192, allocations: 114.7 kB / 0.9933 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.1933, allocations: 219.7 kB / 0.9935 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005936/0.1939, allocations: 0.5453 MB / 0.9941 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.1939, allocations: 49.67 kB / 0.9941 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-05/0.194, allocations: 60.38 kB / 0.9942 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.1951, allocations: 1.03 MB / 0.9952 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.1951, allocations: 11.91 kB / 0.9952 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.165e-05/0.1952, allocations: 27.98 kB / 0.9952 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.6e-05/0.1952, allocations: 69.2 kB / 0.9953 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008237/0.1961, allocations: 0.6956 MB / 0.996 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003356/0.1994, allocations: 5.764 MB / 1.002 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006201/0.2001, allocations: 0.5916 MB / 1.002 GB, free: 3.312 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005858/0.2007, allocations: 421.3 kB / 1.003 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.2007, allocations: 8 kB / 1.003 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.2007, allocations: 42.34 kB / 1.003 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 1.793e-06/0.2007, allocations: 0 / 1.003 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.00347/0.2042, allocations: 2.053 MB / 1.005 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/0.2042, allocations: 63.19 kB / 1.005 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.2046, allocations: 462.8 kB / 1.005 GB, free: 156 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.2046, allocations: 33.7 kB / 1.005 GB, free: 116 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.2048, allocations: 387 kB / 1.006 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.205, allocations: 153.8 kB / 1.006 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.205, allocations: 12 kB / 1.006 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2051, allocations: 362.8 kB / 1.006 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.2055, allocations: 245.2 kB / 1.006 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/0.2059, allocations: 464.9 kB / 1.007 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008863/0.2068, allocations: 0.7558 MB / 1.007 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2068, allocations: 0 / 1.007 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001747/0.2086, allocations: 1.062 MB / 1.008 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2086, allocations: 12.16 kB / 1.008 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.2086, allocations: 8 kB / 1.009 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009576/0.2096, allocations: 323.1 kB / 1.009 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.2099, allocations: 99.81 kB / 1.009 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006317/0.2162, allocations: 6.955 MB / 1.016 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.2166, allocations: 32.02 kB / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.262e-05/0.2166, allocations: 24 kB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002994/0.217, allocations: 245.5 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.532e-05/0.217, allocations: 59.34 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/0.2187, allocations: 0.9079 MB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.2187, allocations: 4 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.2187, allocations: 4 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.2187, allocations: 3.984 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002498/0.2212, allocations: 1.704 MB / 1.019 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2212, allocations: 0 / 1.019 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.2214, allocations: 47.84 kB / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009025/0.2223, allocations: 323.3 kB / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.2224, allocations: 8 kB / 1.019 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006092/0.2285, allocations: 6.945 MB / 1.026 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.2285, allocations: 8 kB / 1.026 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.23, allocations: 1.01 MB / 1.027 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.2303, allocations: 172.4 kB / 1.027 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.2304, allocations: 12 kB / 1.027 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.2307, allocations: 23.97 kB / 1.027 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.705e-05/0.2308, allocations: 35.89 kB / 1.027 GB, free: 8.262 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.2309, allocations: 12 kB / 1.027 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003292/0.2312, allocations: 314.9 kB / 1.027 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.274e-06/0.2312, allocations: 0 / 1.027 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000813/0.232, allocations: 195.9 kB / 1.027 GB, free: 7.754 MB / 0.6511 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * 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 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00194/0.234, allocations: 1.556 MB / 1.029 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001843/0.2358, allocations: 1.21 MB / 1.03 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2359, allocations: 0 / 1.03 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.2371, allocations: 0.8619 MB / 1.031 GB, free: 3.965 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.2382, allocations: 181.1 kB / 1.031 GB, free: 3.793 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006099/0.2443, allocations: 4.048 MB / 1.035 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005969/0.2449, allocations: 0.9882 MB / 1.036 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003135/0.2452, allocations: 101.2 kB / 1.036 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.2455, allocations: 227.4 kB / 1.036 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of SimCode: time 9.42e-07/0.2455, allocations: 0 / 1.036 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3212/0.5667, allocations: 14.58 MB / 1.051 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003089/0.567, allocations: 227.4 kB / 1.051 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/3.241, allocations: 0 / 1.051 GB, free: 15.72 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)