Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.698/1.698, allocations: 287.4 MB / 302.6 MB, free: 8.344 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.0009054/0.0009056, allocations: 181.1 kB / 371.1 MB, free: 10.82 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.473/1.473, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007345/0.0007348, allocations: 89.28 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.000354, allocations: 10.5 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1919, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01017/0.2021, allocations: 13.23 MB / 0.9917 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01132/0.2134, allocations: 9.702 MB / 1.001 GB, free: 5.074 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.2149, allocations: 51.62 kB / 1.001 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009458/0.2158, allocations: 277.8 kB / 1.001 GB, free: 4.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004696/0.2205, allocations: 1.474 MB / 1.003 GB, free: 3.277 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.222, allocations: 0.5111 MB / 1.003 GB, free: 2.766 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003067/0.2251, allocations: 2.923 MB / 1.006 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003187/0.2283, allocations: 1.94 MB / 1.008 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/0.2304, allocations: 1.289 MB / 1.009 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.2319, allocations: 1.047 MB / 1.01 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.2321, allocations: 68 kB / 1.01 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.2331, allocations: 439.5 kB / 1.011 GB, free: 11 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004447/0.2336, allocations: 0.4905 MB / 1.011 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003695/0.2339, allocations: 352.8 kB / 1.012 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001918/0.2359, allocations: 2.123 MB / 1.014 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2359, allocations: 3.938 kB / 1.014 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2359, allocations: 0 / 1.014 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.937e-05/0.2359, allocations: 0 / 1.014 GB, free: 8.027 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003033/0.239, allocations: 1.843 MB / 1.016 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.239, allocations: 12.03 kB / 1.016 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002361/0.2393, allocations: 194.4 kB / 1.016 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/0.25, allocations: 2.163 MB / 1.018 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002588/0.2526, allocations: 1.221 MB / 1.019 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.372e-05/0.2527, allocations: 86.69 kB / 1.019 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004687/0.2532, allocations: 115.9 kB / 1.019 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006256/0.2595, allocations: 2.686 MB / 1.022 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.512e-05/0.2596, allocations: 11.88 kB / 1.022 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002348/0.2598, allocations: 51.98 kB / 1.022 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006424/0.2605, allocations: 194.1 kB / 1.022 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007702/0.2682, allocations: 2.83 MB / 1.025 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01496/0.2832, allocations: 10.57 MB / 1.035 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006396/0.2896, allocations: 2.379 MB / 1.038 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00304/0.2927, allocations: 1.292 MB / 1.039 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.877e-05/0.2928, allocations: 9 kB / 1.039 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.2928, allocations: 47.5 kB / 1.039 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=89): time 6.262e-06/0.2928, allocations: 7.984 kB / 1.039 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of matching and sorting (n=153): time 0.05513/0.348, allocations: 16.51 MB / 1.055 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.3481, allocations: 68.72 kB / 1.055 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/0.3498, allocations: 1.16 MB / 1.056 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002097/0.35, allocations: 57.64 kB / 1.056 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005274/0.3506, allocations: 0.7475 MB / 1.057 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005362/0.3511, allocations: 0.5082 MB / 1.057 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.3513, allocations: 32 kB / 1.058 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.3515, allocations: 369.8 kB / 1.058 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003638/0.3551, allocations: 1.518 MB / 1.059 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003645/0.3588, allocations: 1.799 MB / 1.061 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007152/0.3659, allocations: 3.397 MB / 1.064 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/0.366, allocations: 4 kB / 1.064 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.4057/0.7717, allocations: 5.296 MB / 1.07 GB, free: 85.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.7717, allocations: 8.469 kB / 1.07 GB, free: 85.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.7718, allocations: 6.375 kB / 1.07 GB, free: 85.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006893/0.7787, allocations: 1.901 MB / 1.071 GB, free: 84.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/0.7808, allocations: 427.8 kB / 1.072 GB, free: 84.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02616/0.807, allocations: 22.13 MB / 1.094 GB, free: 69.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/0.8095, allocations: 318.5 kB / 1.094 GB, free: 69.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002404/0.8097, allocations: 74.94 kB / 1.094 GB, free: 69.64 MB / 0.6823 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 (82): * Single equations (assignments): 74 * 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%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008916/0.8106, allocations: 458.4 kB / 1.094 GB, free: 69.36 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/0.811, allocations: 175.2 kB / 1.094 GB, free: 69.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/0.824, allocations: 5.359 MB / 1.1 GB, free: 67.49 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.824, allocations: 15.19 kB / 1.1 GB, free: 67.49 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.142e-05/0.8241, allocations: 20.25 kB / 1.1 GB, free: 67.49 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.8241, allocations: 9.156 kB / 1.1 GB, free: 67.49 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/0.8377, allocations: 7.455 MB / 1.107 GB, free: 64.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.8378, allocations: 3.125 kB / 1.107 GB, free: 64.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/0.8393, allocations: 363.4 kB / 1.107 GB, free: 64.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005237/0.8445, allocations: 1.701 MB / 1.109 GB, free: 63.87 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.8447, allocations: 49.88 kB / 1.109 GB, free: 63.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02067/0.8653, allocations: 21.34 MB / 1.13 GB, free: 46.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/0.8654, allocations: 7.156 kB / 1.13 GB, free: 46.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01152/0.8769, allocations: 4.915 MB / 1.135 GB, free: 43.86 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008283/0.8778, allocations: 0.4895 MB / 1.135 GB, free: 43.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003496/0.8781, allocations: 30.88 kB / 1.135 GB, free: 43.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002035/0.8802, allocations: 331.8 kB / 1.136 GB, free: 43.31 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004709/0.8807, allocations: 155.3 kB / 1.136 GB, free: 43.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.8808, allocations: 56.7 kB / 1.136 GB, free: 43.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009608/0.8818, allocations: 0.7737 MB / 1.137 GB, free: 42.77 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8818, allocations: 3.969 kB / 1.137 GB, free: 42.77 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002064/0.8839, allocations: 0.6519 MB / 1.137 GB, free: 42.7 MB / 0.6823 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%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01034/0.8942, allocations: 5.505 MB / 1.143 GB, free: 38.37 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009511/0.9037, allocations: 5.19 MB / 1.148 GB, free: 33.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.9037, allocations: 0 / 1.148 GB, free: 33.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005787/0.9095, allocations: 3.361 MB / 1.151 GB, free: 29.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/0.9123, allocations: 0.5125 MB / 1.151 GB, free: 29.13 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02819/0.9405, allocations: 16.15 MB / 1.167 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/0.942, allocations: 1.575 MB / 1.169 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001733/0.9437, allocations: 382.4 kB / 1.169 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007892/0.9446, allocations: 0.6593 MB / 1.17 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of SimCode: time 7.02e-07/0.9446, allocations: 7.875 kB / 1.17 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3308/1.275, allocations: 56.14 MB / 1.225 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002582/1.276, allocations: 229.5 kB / 1.225 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.422/4.697, allocations: 0 / 1.225 GB, free: 1.84 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)