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 2.885/2.885, allocations: 287.5 MB / 302.4 MB, free: 8.301 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.001329/0.001329, allocations: 172.5 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.214/2.214, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009032/0.0009032, allocations: 83.72 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000639/0.0006393, allocations: 11.75 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2167, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01858/0.2353, allocations: 13.22 MB / 0.9914 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01804/0.2534, allocations: 9.706 MB / 1.001 GB, free: 5.273 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.2551, allocations: 51.62 kB / 1.001 GB, free: 5.223 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.2566, allocations: 273.8 kB / 1.001 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00613/0.2628, allocations: 1.466 MB / 1.003 GB, free: 3.488 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.2652, allocations: 0.519 MB / 1.003 GB, free: 2.969 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005033/0.2702, allocations: 2.895 MB / 1.006 GB, free: 64 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00685/0.2771, allocations: 1.811 MB / 1.008 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005643/0.2828, allocations: 1.289 MB / 1.009 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004483/0.2874, allocations: 1.043 MB / 1.01 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0008689/0.2883, allocations: 68 kB / 1.01 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002501/0.2909, allocations: 427.5 kB / 1.01 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001064/0.292, allocations: 0.4983 MB / 1.011 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008144/0.2928, allocations: 356.8 kB / 1.011 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004289/0.2971, allocations: 2.123 MB / 1.013 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.2972, allocations: 0 / 1.013 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.015e-06/0.2972, allocations: 0 / 1.013 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.144e-05/0.2973, allocations: 0 / 1.013 GB, free: 8.406 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.005868/0.3032, allocations: 1.859 MB / 1.015 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.3032, allocations: 8.031 kB / 1.015 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006052/0.3038, allocations: 202.2 kB / 1.015 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02169/0.3256, allocations: 2.166 MB / 1.017 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004127/0.3297, allocations: 1.159 MB / 1.019 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.3299, allocations: 94.3 kB / 1.019 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004573/0.3304, allocations: 119.9 kB / 1.019 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.3409, allocations: 2.69 MB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001001/0.341, allocations: 11.84 kB / 1.021 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002929/0.3413, allocations: 55.98 kB / 1.022 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001175/0.3425, allocations: 194.1 kB / 1.022 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0179/0.3604, allocations: 2.83 MB / 1.024 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0269/0.3874, allocations: 10.56 MB / 1.035 GB, free: 1.586 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/0.4002, allocations: 2.387 MB / 1.037 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006229/0.4065, allocations: 1.292 MB / 1.038 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.4067, allocations: 13 kB / 1.038 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.4068, allocations: 43.55 kB / 1.038 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=89): time 3.397e-06/0.4068, allocations: 0 / 1.038 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of matching and sorting (n=153): time 0.1135/0.5203, allocations: 16.51 MB / 1.055 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.5204, allocations: 68.72 kB / 1.055 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/0.5228, allocations: 1.164 MB / 1.056 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004023/0.5233, allocations: 53.7 kB / 1.056 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008504/0.5241, allocations: 0.7398 MB / 1.057 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009443/0.5251, allocations: 0.5159 MB / 1.057 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.5254, allocations: 28 kB / 1.057 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002133/0.5256, allocations: 369.9 kB / 1.057 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00692/0.5325, allocations: 1.518 MB / 1.059 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007421/0.54, allocations: 1.799 MB / 1.061 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007346/0.5474, allocations: 1.646 MB / 1.062 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/0.5475, allocations: 4 kB / 1.062 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.657/1.204, allocations: 5.294 MB / 1.067 GB, free: 84.47 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.041e-05/1.205, allocations: 8.109 kB / 1.067 GB, free: 84.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.063e-05/1.205, allocations: 6.812 kB / 1.067 GB, free: 84.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02117/1.226, allocations: 1.894 MB / 1.069 GB, free: 84.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005293/1.231, allocations: 423.6 kB / 1.07 GB, free: 84.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04542/1.277, allocations: 22.13 MB / 1.091 GB, free: 69.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004766/1.281, allocations: 314.3 kB / 1.092 GB, free: 69.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004612/1.282, allocations: 72.44 kB / 1.092 GB, free: 69.32 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.001469/1.283, allocations: 463.1 kB / 1.092 GB, free: 69.03 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006081/1.284, allocations: 178 kB / 1.092 GB, free: 68.94 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02566/1.31, allocations: 5.341 MB / 1.097 GB, free: 67.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.892e-05/1.31, allocations: 15.78 kB / 1.098 GB, free: 67.18 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.373e-05/1.31, allocations: 22.59 kB / 1.098 GB, free: 67.17 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-05/1.31, allocations: 8.391 kB / 1.098 GB, free: 67.17 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03061/1.341, allocations: 7.447 MB / 1.105 GB, free: 64.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-05/1.341, allocations: 7.844 kB / 1.105 GB, free: 64.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003222/1.344, allocations: 359.7 kB / 1.105 GB, free: 64.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01099/1.355, allocations: 1.704 MB / 1.107 GB, free: 64.08 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004079/1.355, allocations: 44.89 kB / 1.107 GB, free: 64.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03963/1.395, allocations: 21.35 MB / 1.128 GB, free: 47.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.842e-06/1.395, allocations: 3.844 kB / 1.128 GB, free: 47.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02265/1.418, allocations: 4.908 MB / 1.133 GB, free: 44.51 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/1.419, allocations: 0.4894 MB / 1.133 GB, free: 44.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006356/1.42, allocations: 29.34 kB / 1.133 GB, free: 44.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004332/1.424, allocations: 330.6 kB / 1.133 GB, free: 43.96 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008015/1.425, allocations: 154.7 kB / 1.133 GB, free: 43.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003051/1.426, allocations: 62.44 kB / 1.134 GB, free: 43.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001446/1.427, allocations: 0.7752 MB / 1.134 GB, free: 43.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/1.427, allocations: 0 / 1.134 GB, free: 43.41 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003385/1.43, allocations: 0.6559 MB / 1.135 GB, free: 43.34 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.0273/1.458, allocations: 5.495 MB / 1.14 GB, free: 40 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01851/1.476, allocations: 5.196 MB / 1.145 GB, free: 35.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.476, allocations: 4.125 kB / 1.145 GB, free: 35.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01153/1.488, allocations: 3.362 MB / 1.149 GB, free: 31.76 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004204/1.492, allocations: 0.5159 MB / 1.149 GB, free: 31.25 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05498/1.547, allocations: 16.14 MB / 1.165 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/1.549, allocations: 1.568 MB / 1.166 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002686/1.551, allocations: 382.4 kB / 1.167 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001367/1.553, allocations: 0.6633 MB / 1.167 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of SimCode: time 1.223e-06/1.553, allocations: 0 / 1.167 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1857/1.738, allocations: 56.15 MB / 1.222 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003453/1.739, allocations: 242.4 kB / 1.223 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.603/6.342, allocations: 0 / 1.223 GB, free: 3.961 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)