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.ACLine_L.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.ACLine_L,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.699/1.699, allocations: 288.2 MB / 303.2 MB, free: 8.133 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.001308/0.001308, allocations: 183.2 kB / 371.8 MB, free: 10.3 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.51/1.51, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0008914/0.0008913, allocations: 86.25 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003884, allocations: 11.38 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1948, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.004633/0.1994, allocations: 5.289 MB / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003954/0.2035, allocations: 3.011 MB / 0.9876 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006592/0.2042, allocations: 27.75 kB / 0.9876 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000416/0.2046, allocations: 111.2 kB / 0.9877 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.2056, allocations: 346.9 kB / 0.9881 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009579/0.2066, allocations: 384.9 kB / 0.9884 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008705/0.2075, allocations: 0.6493 MB / 0.9891 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.2089, allocations: 0.8976 MB / 0.9899 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006203/0.2096, allocations: 338.6 kB / 0.9903 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006638/0.2102, allocations: 342.7 kB / 0.9906 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.761e-05/0.2103, allocations: 32 kB / 0.9906 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005088/0.2108, allocations: 203.7 kB / 0.9908 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.211, allocations: 231.3 kB / 0.991 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.2112, allocations: 161.3 kB / 0.9912 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007245/0.2119, allocations: 0.8417 MB / 0.992 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2119, allocations: 0 / 0.992 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2119, allocations: 0 / 0.992 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.212, allocations: 0 / 0.992 GB, free: 14.73 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.00135/0.2133, allocations: 0.9192 MB / 0.9929 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.2134, allocations: 12.03 kB / 0.9929 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.2135, allocations: 114.5 kB / 0.993 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.2149, allocations: 210.8 kB / 0.9932 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008292/0.2157, allocations: 0.5249 MB / 0.9937 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.2158, allocations: 41.31 kB / 0.9938 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.309e-05/0.2159, allocations: 63.98 kB / 0.9938 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.2169, allocations: 1.026 MB / 0.9948 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.2169, allocations: 11.84 kB / 0.9948 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-05/0.217, allocations: 24 kB / 0.9949 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.571e-05/0.217, allocations: 69.27 kB / 0.9949 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007601/0.2178, allocations: 0.6879 MB / 0.9956 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003323/0.2211, allocations: 5.764 MB / 1.001 GB, free: 4.637 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/0.2217, allocations: 0.599 MB / 1.002 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.2218, allocations: 4 kB / 1.002 GB, free: 3.988 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.2218, allocations: 38.56 kB / 1.002 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 1.754e-06/0.2218, allocations: 0 / 1.002 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.003142/0.225, allocations: 1.89 MB / 1.004 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.225, allocations: 59.19 kB / 1.004 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.2253, allocations: 466.7 kB / 1.004 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.2254, allocations: 33.7 kB / 1.004 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.2255, allocations: 391 kB / 1.005 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/0.2256, allocations: 153.8 kB / 1.005 GB, free: 0.8398 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.2256, allocations: 12 kB / 1.005 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.382e-05/0.2257, allocations: 362.8 kB / 1.005 GB, free: 476 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.2259, allocations: 229.2 kB / 1.005 GB, free: 248 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/0.2263, allocations: 456.9 kB / 1.006 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/0.2267, allocations: 295.7 kB / 1.006 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2268, allocations: 4 kB / 1.006 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001631/0.2284, allocations: 0.9796 MB / 1.007 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.2284, allocations: 17.95 kB / 1.007 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.2284, allocations: 4 kB / 1.007 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008353/0.2293, allocations: 271.9 kB / 1.007 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.2296, allocations: 99.83 kB / 1.007 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006058/0.2357, allocations: 6.743 MB / 1.014 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.2361, allocations: 35.97 kB / 1.014 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.2361, allocations: 28 kB / 1.014 GB, free: 6.672 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 (55): * Single equations (assignments): 51 * 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 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000334/0.2365, allocations: 237.6 kB / 1.014 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-05/0.2366, allocations: 67.2 kB / 1.014 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.2381, allocations: 0.8264 MB / 1.015 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2381, allocations: 4 kB / 1.015 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2381, allocations: 8 kB / 1.015 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.2381, allocations: 3.984 kB / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/0.2407, allocations: 1.718 MB / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.2407, allocations: 4 kB / 1.017 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.2409, allocations: 44.16 kB / 1.017 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007449/0.2417, allocations: 255.1 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.2417, allocations: 8 kB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005485/0.2472, allocations: 6.448 MB / 1.023 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.2472, allocations: 4.031 kB / 1.023 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.2488, allocations: 0.982 MB / 1.024 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.2492, allocations: 168.4 kB / 1.025 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-05/0.2493, allocations: 8 kB / 1.025 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.2496, allocations: 23.97 kB / 1.025 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.2497, allocations: 43.84 kB / 1.025 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.2498, allocations: 16 kB / 1.025 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003611/0.2501, allocations: 306.9 kB / 1.025 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2501, allocations: 0 / 1.025 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007803/0.2509, allocations: 188 kB / 1.025 GB, free: 10.54 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 (27): * Single equations (assignments): 23 * 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 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001909/0.2528, allocations: 1.937 MB / 1.027 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001601/0.2544, allocations: 1.141 MB / 1.028 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2545, allocations: 0 / 1.028 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009535/0.2554, allocations: 0.7995 MB / 1.029 GB, free: 6.484 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007957/0.2562, allocations: 176.9 kB / 1.029 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006957/0.2632, allocations: 8.432 MB / 1.037 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007492/0.264, allocations: 1.004 MB / 1.038 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004587/0.2645, allocations: 109.2 kB / 1.038 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/0.2648, allocations: 227.4 kB / 1.039 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of SimCode: time 1.793e-06/0.2648, allocations: 4 kB / 1.039 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.2961, allocations: 14.02 MB / 1.052 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/0.2963, allocations: 240.9 kB / 1.053 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/2.582, allocations: 4.062 kB / 1.053 GB, free: 14.3 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)