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.ACLineMedium.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.ACLineMedium,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.586/1.586, allocations: 288.4 MB / 303.6 MB, free: 8.098 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.0009382/0.0009382, allocations: 188.4 kB / 372.3 MB, free: 10.12 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.631 GB, free: 9.93 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.0007203/0.0007201, allocations: 94.23 kB / 0.7444 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004109, allocations: 11.62 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.209, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01167/0.2207, allocations: 13.22 MB / 0.9931 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01077/0.2316, allocations: 9.705 MB / 1.003 GB, free: 4.254 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.233, allocations: 47.69 kB / 1.003 GB, free: 4.207 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.234, allocations: 281.8 kB / 1.003 GB, free: 3.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00411/0.2381, allocations: 1.541 MB / 1.004 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.2396, allocations: 0.5602 MB / 1.005 GB, free: 1.828 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003471/0.2431, allocations: 2.921 MB / 1.008 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003447/0.2465, allocations: 1.945 MB / 1.01 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002168/0.2487, allocations: 1.289 MB / 1.011 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.2506, allocations: 1.043 MB / 1.012 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003943/0.251, allocations: 72 kB / 1.012 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.2527, allocations: 0.8148 MB / 1.013 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005842/0.2533, allocations: 0.5022 MB / 1.013 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.2543, allocations: 0.8217 MB / 1.014 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.2564, allocations: 2.143 MB / 1.016 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2564, allocations: 0 / 1.016 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2564, allocations: 0 / 1.016 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.834e-05/0.2564, allocations: 0 / 1.016 GB, free: 6.191 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.002951/0.2594, allocations: 1.851 MB / 1.018 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2594, allocations: 8.031 kB / 1.018 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002254/0.2597, allocations: 190.4 kB / 1.018 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.2709, allocations: 2.167 MB / 1.02 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.273, allocations: 1.217 MB / 1.022 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.349e-05/0.2731, allocations: 90.69 kB / 1.022 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.2733, allocations: 119.9 kB / 1.022 GB, free: 440 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005569/0.2789, allocations: 2.682 MB / 1.024 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.2789, allocations: 7.922 kB / 1.024 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.2791, allocations: 59.97 kB / 1.024 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006266/0.2797, allocations: 190.1 kB / 1.025 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007674/0.2874, allocations: 2.834 MB / 1.027 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01505/0.3025, allocations: 10.57 MB / 1.038 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006798/0.3093, allocations: 2.379 MB / 1.04 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003164/0.3125, allocations: 1.292 MB / 1.041 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.876e-05/0.3126, allocations: 9 kB / 1.041 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.3126, allocations: 39.56 kB / 1.041 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=89): time 3.296e-06/0.3126, allocations: 4 kB / 1.041 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of matching and sorting (n=153): time 0.06083/0.3735, allocations: 16.52 MB / 1.057 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.3736, allocations: 68.72 kB / 1.058 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.3754, allocations: 1.16 MB / 1.059 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001615/0.3756, allocations: 53.7 kB / 1.059 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005624/0.3762, allocations: 0.7475 MB / 1.059 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005327/0.3767, allocations: 0.5082 MB / 1.06 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.3769, allocations: 35.94 kB / 1.06 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.377, allocations: 369.8 kB / 1.06 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003755/0.3808, allocations: 1.522 MB / 1.062 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003932/0.3847, allocations: 1.799 MB / 1.064 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007787/0.3925, allocations: 3.401 MB / 1.067 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/0.3926, allocations: 4 kB / 1.067 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.4217/0.8143, allocations: 5.293 MB / 1.072 GB, free: 85.19 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.8143, allocations: 10.58 kB / 1.072 GB, free: 85.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.8144, allocations: 6.969 kB / 1.072 GB, free: 85.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007184/0.8216, allocations: 1.895 MB / 1.074 GB, free: 84.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/0.8237, allocations: 423.9 kB / 1.074 GB, free: 84.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02612/0.8498, allocations: 22.14 MB / 1.096 GB, free: 69.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00269/0.8525, allocations: 317.7 kB / 1.096 GB, free: 69.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/0.8527, allocations: 66.06 kB / 1.096 GB, free: 69.38 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.0008504/0.8536, allocations: 467.7 kB / 1.097 GB, free: 69.09 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.8538, allocations: 175.3 kB / 1.097 GB, free: 69 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/0.8663, allocations: 5.358 MB / 1.102 GB, free: 67.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.8663, allocations: 16.31 kB / 1.102 GB, free: 67.18 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.609e-05/0.8663, allocations: 18.06 kB / 1.102 GB, free: 67.18 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.8664, allocations: 8.484 kB / 1.102 GB, free: 67.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/0.8815, allocations: 7.447 MB / 1.109 GB, free: 63.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.8815, allocations: 3.875 kB / 1.109 GB, free: 63.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/0.8832, allocations: 364.6 kB / 1.11 GB, free: 63.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005774/0.889, allocations: 1.701 MB / 1.111 GB, free: 62.64 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/0.8891, allocations: 45.8 kB / 1.112 GB, free: 62.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02158/0.9107, allocations: 21.34 MB / 1.132 GB, free: 45.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.9108, allocations: 4.219 kB / 1.132 GB, free: 45.43 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/0.9221, allocations: 4.924 MB / 1.137 GB, free: 42.63 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008599/0.923, allocations: 495.1 kB / 1.138 GB, free: 42.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003198/0.9234, allocations: 31.25 kB / 1.138 GB, free: 42.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002145/0.9255, allocations: 325.2 kB / 1.138 GB, free: 42.09 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004813/0.926, allocations: 154.2 kB / 1.138 GB, free: 42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.9262, allocations: 54.56 kB / 1.138 GB, free: 41.98 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009245/0.9271, allocations: 0.7828 MB / 1.139 GB, free: 41.54 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9271, allocations: 0 / 1.139 GB, free: 41.54 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002058/0.9292, allocations: 0.6538 MB / 1.14 GB, free: 41.47 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.01069/0.9399, allocations: 5.504 MB / 1.145 GB, free: 35.91 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01016/0.95, allocations: 5.196 MB / 1.15 GB, free: 30.63 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.9501, allocations: 0 / 1.15 GB, free: 30.63 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006069/0.9562, allocations: 3.366 MB / 1.153 GB, free: 27.16 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/0.9591, allocations: 0.5004 MB / 1.154 GB, free: 26.67 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02902/0.9881, allocations: 16.16 MB / 1.17 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/0.9893, allocations: 1.568 MB / 1.171 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001523/0.9909, allocations: 390.4 kB / 1.172 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007348/0.9916, allocations: 0.6593 MB / 1.172 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of SimCode: time 6.51e-07/0.9916, allocations: 0 / 1.172 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.691/1.683, allocations: 56.49 MB / 1.227 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003175/1.683, allocations: 241 kB / 1.228 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.158/5.841, allocations: 3.938 kB / 1.228 GB, free: 15.06 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)