Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.555/1.555, allocations: 252 MB / 267 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001542, allocations: 183.9 kB / 326.6 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.897/1.897, allocations: 205.4 MB / 0.5777 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008528/0.0008528, allocations: 88.92 kB / 0.6822 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004698, allocations: 7.969 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.315, allocations: 106.4 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01613/0.3311, allocations: 13.22 MB / 0.9132 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01631/0.3475, allocations: 9.705 MB / 0.9227 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002276/0.3499, allocations: 51.62 kB / 0.9228 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.3515, allocations: 277.8 kB / 0.923 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007276/0.3588, allocations: 1.468 MB / 0.9245 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.3614, allocations: 0.5145 MB / 0.925 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004766/0.3662, allocations: 2.894 MB / 0.9278 GB, free: 35.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00397/0.3702, allocations: 1.803 MB / 0.9295 GB, free: 33.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003038/0.3732, allocations: 1.289 MB / 0.9308 GB, free: 32.42 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002351/0.3756, allocations: 1.043 MB / 0.9318 GB, free: 31.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002777/0.3759, allocations: 71.94 kB / 0.9319 GB, free: 31.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.3775, allocations: 431.5 kB / 0.9323 GB, free: 30.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005597/0.3781, allocations: 0.4905 MB / 0.9328 GB, free: 30.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005905/0.3787, allocations: 356.8 kB / 0.9331 GB, free: 30.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002596/0.3813, allocations: 2.131 MB / 0.9352 GB, free: 27.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.3814, allocations: 0 / 0.9352 GB, free: 27.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.484e-06/0.3814, allocations: 4 kB / 0.9352 GB, free: 27.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.103e-05/0.3814, allocations: 0 / 0.9352 GB, free: 27.89 MB / 0.6042 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.004544/0.386, allocations: 1.847 MB / 0.937 GB, free: 25.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.327e-05/0.3861, allocations: 12.03 kB / 0.937 GB, free: 25.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003939/0.3865, allocations: 194.2 kB / 0.9372 GB, free: 25.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01558/0.4021, allocations: 2.17 MB / 0.9393 GB, free: 23.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003628/0.4057, allocations: 1.163 MB / 0.9405 GB, free: 22.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.931e-05/0.4059, allocations: 90.31 kB / 0.9406 GB, free: 22.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004513/0.4063, allocations: 127.8 kB / 0.9407 GB, free: 22.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007803/0.4142, allocations: 2.682 MB / 0.9433 GB, free: 19.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.942e-05/0.4143, allocations: 4 kB / 0.9433 GB, free: 19.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002352/0.4145, allocations: 55.97 kB / 0.9433 GB, free: 19.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008249/0.4153, allocations: 194.1 kB / 0.9435 GB, free: 19.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01036/0.4257, allocations: 2.842 MB / 0.9463 GB, free: 16.24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01962/0.4454, allocations: 10.56 MB / 0.9566 GB, free: 5.094 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008709/0.4541, allocations: 2.383 MB / 0.9589 GB, free: 2.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00443/0.4586, allocations: 1.312 MB / 0.9602 GB, free: 1.363 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.4588, allocations: 9 kB / 0.9602 GB, free: 1.355 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.472e-05/0.4589, allocations: 43.56 kB / 0.9603 GB, free: 1.305 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=89): time 5.461e-06/0.4589, allocations: 0 / 0.9603 GB, free: 1.305 MB / 0.6042 GB Notification: Performance of matching and sorting (n=153): time 0.08417/0.5431, allocations: 16.5 MB / 0.9764 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/0.5432, allocations: 68.72 kB / 0.9765 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002863/0.5461, allocations: 1.168 MB / 0.9776 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003823/0.5465, allocations: 53.7 kB / 0.9776 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008384/0.5474, allocations: 0.7436 MB / 0.9784 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009783/0.5484, allocations: 0.5121 MB / 0.9789 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003051/0.5487, allocations: 32 kB / 0.9789 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002255/0.5489, allocations: 361.9 kB / 0.9792 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005489/0.5544, allocations: 1.526 MB / 0.9807 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005899/0.5604, allocations: 1.792 MB / 0.9825 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006131/0.5665, allocations: 1.646 MB / 0.9841 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.549e-05/0.5666, allocations: 4 kB / 0.9841 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.02211/0.5887, allocations: 5.293 MB / 0.9893 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/0.5888, allocations: 8 kB / 0.9893 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.743e-05/0.5889, allocations: 12.09 kB / 0.9893 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01105/0.5999, allocations: 1.893 MB / 0.9911 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003253/0.6032, allocations: 427.3 kB / 0.9915 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04132/0.6446, allocations: 22.13 MB / 1.013 GB, free: 9.727 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003004/0.6477, allocations: 319.5 kB / 1.013 GB, free: 9.414 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003968/0.6481, allocations: 63.97 kB / 1.014 GB, free: 9.352 MB / 0.6667 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.00136/0.6495, allocations: 478.8 kB / 1.014 GB, free: 8.875 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006085/0.6501, allocations: 173.9 kB / 1.014 GB, free: 8.703 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/0.6648, allocations: 5.336 MB / 1.019 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/0.6649, allocations: 15.94 kB / 1.019 GB, free: 3.309 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.792e-05/0.665, allocations: 27.94 kB / 1.019 GB, free: 3.281 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.388e-05/0.665, allocations: 7.969 kB / 1.019 GB, free: 3.273 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01935/0.6844, allocations: 7.457 MB / 1.027 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.396e-05/0.6845, allocations: 4 kB / 1.027 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/0.6864, allocations: 363.7 kB / 1.027 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006484/0.6929, allocations: 1.694 MB / 1.029 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003113/0.6932, allocations: 47.95 kB / 1.029 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02824/0.7215, allocations: 21.35 MB / 1.05 GB, free: 3.152 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.495e-06/0.7215, allocations: 4 kB / 1.05 GB, free: 3.148 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5534/1.275, allocations: 4.905 MB / 1.054 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/1.276, allocations: 490.5 kB / 1.055 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002911/1.277, allocations: 33.56 kB / 1.055 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002134/1.279, allocations: 332.1 kB / 1.055 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005434/1.279, allocations: 148 kB / 1.055 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/1.279, allocations: 57.33 kB / 1.055 GB, free: 137.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001172/1.281, allocations: 0.7789 MB / 1.056 GB, free: 137.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/1.281, allocations: 0 / 1.056 GB, free: 137.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002204/1.283, allocations: 0.6544 MB / 1.057 GB, free: 137.1 MB / 0.698 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.014/1.297, allocations: 5.49 MB / 1.062 GB, free: 136.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01422/1.311, allocations: 5.183 MB / 1.067 GB, free: 135.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/1.311, allocations: 0.9688 kB / 1.067 GB, free: 135.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007694/1.319, allocations: 3.36 MB / 1.071 GB, free: 134.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003089/1.322, allocations: 0.5156 MB / 1.071 GB, free: 134.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0369/1.359, allocations: 16.15 MB / 1.087 GB, free: 129.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001836/1.361, allocations: 1.57 MB / 1.088 GB, free: 129 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002103/1.363, allocations: 392.9 kB / 1.089 GB, free: 128.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009001/1.364, allocations: 0.6571 MB / 1.089 GB, free: 128.3 MB / 0.698 GB Notification: Performance of SimCode: time 9.72e-07/1.364, allocations: 0 / 1.089 GB, free: 128.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0915/1.455, allocations: 56.17 MB / 1.144 GB, free: 76.16 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/1.456, allocations: 238.4 kB / 1.144 GB, free: 75.92 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.658/5.114, allocations: 4 kB / 1.144 GB, free: 75.92 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)