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.896/1.896, allocations: 288.4 MB / 303.3 MB, free: 8.145 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.001183/0.001183, allocations: 172.5 kB / 372 MB, free: 10.29 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.822/1.822, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0007681/0.0007681, allocations: 88.91 kB / 0.744 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003905, allocations: 11.28 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2262, allocations: 115.3 MB / 0.9797 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01601/0.2423, allocations: 13.22 MB / 0.9926 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01593/0.2582, allocations: 9.699 MB / 1.002 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.26, allocations: 51.62 kB / 1.002 GB, free: 4.539 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.2613, allocations: 277.8 kB / 1.002 GB, free: 4.266 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005277/0.2666, allocations: 1.467 MB / 1.004 GB, free: 2.797 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.2687, allocations: 0.5207 MB / 1.004 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004699/0.2734, allocations: 2.898 MB / 1.007 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00513/0.2785, allocations: 1.801 MB / 1.009 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003063/0.2816, allocations: 1.289 MB / 1.01 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00258/0.2842, allocations: 1.039 MB / 1.011 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004788/0.2847, allocations: 72 kB / 1.011 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.2869, allocations: 439.5 kB / 1.012 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.288, allocations: 498.3 kB / 1.012 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009617/0.289, allocations: 356.8 kB / 1.012 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003947/0.2929, allocations: 2.123 MB / 1.015 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.2929, allocations: 4 kB / 1.015 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.645e-06/0.293, allocations: 0 / 1.015 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000119/0.2931, allocations: 0 / 1.015 GB, free: 7.715 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.005641/0.2987, allocations: 1.859 MB / 1.016 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.2988, allocations: 12.03 kB / 1.016 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000628/0.2995, allocations: 190.2 kB / 1.017 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01689/0.3164, allocations: 2.178 MB / 1.019 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003813/0.3202, allocations: 1.163 MB / 1.02 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.3204, allocations: 86.31 kB / 1.02 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000704/0.3211, allocations: 112 kB / 1.02 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009871/0.331, allocations: 2.69 MB / 1.023 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.633e-05/0.3311, allocations: 7.906 kB / 1.023 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002512/0.3314, allocations: 51.98 kB / 1.023 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008771/0.3323, allocations: 194.1 kB / 1.023 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/0.3437, allocations: 2.846 MB / 1.026 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02055/0.3643, allocations: 10.56 MB / 1.036 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009547/0.3739, allocations: 2.379 MB / 1.038 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004646/0.3786, allocations: 1.303 MB / 1.04 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.652e-05/0.3787, allocations: 12.98 kB / 1.04 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/0.3787, allocations: 47.56 kB / 1.04 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=89): time 4.228e-06/0.3788, allocations: 0 / 1.04 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of matching and sorting (n=153): time 0.07876/0.4575, allocations: 16.51 MB / 1.056 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.4576, allocations: 68.72 kB / 1.056 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.4593, allocations: 1.16 MB / 1.057 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002814/0.4596, allocations: 53.7 kB / 1.057 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005077/0.4601, allocations: 0.7359 MB / 1.058 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000514/0.4606, allocations: 0.5198 MB / 1.058 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.4607, allocations: 31.94 kB / 1.058 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.4609, allocations: 365.9 kB / 1.059 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003496/0.4644, allocations: 1.526 MB / 1.06 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003776/0.4682, allocations: 1.788 MB / 1.062 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003789/0.472, allocations: 1.65 MB / 1.063 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.472, allocations: 0 / 1.063 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.5125/0.9846, allocations: 5.289 MB / 1.069 GB, free: 84.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.9846, allocations: 8.797 kB / 1.069 GB, free: 84.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.9847, allocations: 6.781 kB / 1.069 GB, free: 84.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007556/0.9922, allocations: 1.898 MB / 1.07 GB, free: 84.74 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/0.9944, allocations: 430.3 kB / 1.071 GB, free: 84.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02935/1.024, allocations: 22.12 MB / 1.092 GB, free: 69.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002861/1.027, allocations: 322 kB / 1.093 GB, free: 69.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002618/1.027, allocations: 66.72 kB / 1.093 GB, free: 69.49 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.0009733/1.028, allocations: 465.8 kB / 1.093 GB, free: 69.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003896/1.028, allocations: 178.5 kB / 1.093 GB, free: 69.11 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01439/1.043, allocations: 5.348 MB / 1.099 GB, free: 67.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/1.043, allocations: 13.91 kB / 1.099 GB, free: 67.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-05/1.043, allocations: 18.59 kB / 1.099 GB, free: 67.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-05/1.043, allocations: 8 kB / 1.099 GB, free: 67.34 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/1.06, allocations: 7.454 MB / 1.106 GB, free: 64.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-05/1.06, allocations: 7.969 kB / 1.106 GB, free: 64.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/1.062, allocations: 360.9 kB / 1.106 GB, free: 64.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005754/1.067, allocations: 1.701 MB / 1.108 GB, free: 63.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000264/1.068, allocations: 39.78 kB / 1.108 GB, free: 63.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02325/1.091, allocations: 21.35 MB / 1.129 GB, free: 46.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/1.091, allocations: 3.344 kB / 1.129 GB, free: 46.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/1.103, allocations: 4.911 MB / 1.134 GB, free: 43.61 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/1.104, allocations: 489.1 kB / 1.134 GB, free: 43.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003676/1.105, allocations: 36.77 kB / 1.134 GB, free: 43.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002121/1.107, allocations: 325.9 kB / 1.135 GB, free: 43.07 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004668/1.107, allocations: 153.8 kB / 1.135 GB, free: 42.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/1.107, allocations: 54.47 kB / 1.135 GB, free: 42.97 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000964/1.108, allocations: 0.7776 MB / 1.135 GB, free: 42.54 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.11e-07/1.108, allocations: 0 / 1.135 GB, free: 42.54 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002539/1.111, allocations: 0.6569 MB / 1.136 GB, free: 42.46 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.01137/1.122, allocations: 5.487 MB / 1.141 GB, free: 39.12 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01042/1.133, allocations: 5.201 MB / 1.147 GB, free: 33.95 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.133, allocations: 0 / 1.147 GB, free: 33.95 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00688/1.14, allocations: 3.374 MB / 1.15 GB, free: 30.47 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/1.143, allocations: 0.5227 MB / 1.15 GB, free: 29.96 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02949/1.172, allocations: 16.15 MB / 1.166 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009739/1.173, allocations: 1.568 MB / 1.168 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001757/1.175, allocations: 382.4 kB / 1.168 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007519/1.176, allocations: 0.6593 MB / 1.169 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/1.176, allocations: 0 / 1.169 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0957/1.271, allocations: 56.17 MB / 1.224 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/1.272, allocations: 238.4 kB / 1.224 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.625/4.897, allocations: 3.938 kB / 1.224 GB, free: 2.695 MB / 0.7292 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)