Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.662/2.662, allocations: 287.3 MB / 302.3 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.001553/0.001552, allocations: 183 kB / 370.8 MB, free: 10.85 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.301/2.301, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001079/0.001079, allocations: 92.78 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006473/0.0006475, allocations: 11.69 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2836, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.01167/0.2953, allocations: 5.281 MB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009202/0.3046, allocations: 3.019 MB / 0.9864 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008826/0.3055, allocations: 27.75 kB / 0.9864 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006204/0.3062, allocations: 107.2 kB / 0.9865 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.3082, allocations: 346.9 kB / 0.9869 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.3106, allocations: 380.6 kB / 0.9872 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002243/0.3128, allocations: 0.6531 MB / 0.9879 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003334/0.3162, allocations: 0.8948 MB / 0.9887 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.3174, allocations: 330.8 kB / 0.989 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.3185, allocations: 350.7 kB / 0.9894 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.3187, allocations: 31.94 kB / 0.9894 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.3197, allocations: 199.7 kB / 0.9896 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003783/0.3201, allocations: 235.3 kB / 0.9898 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.3204, allocations: 157.3 kB / 0.99 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.3223, allocations: 0.8417 MB / 0.9908 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3223, allocations: 0 / 0.9908 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.434e-06/0.3223, allocations: 4 kB / 0.9908 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.501e-05/0.3224, allocations: 0 / 0.9908 GB, free: 15.4 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002926/0.3253, allocations: 0.9192 MB / 0.9917 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.3254, allocations: 12.02 kB / 0.9917 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003898/0.3258, allocations: 126.4 kB / 0.9918 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003291/0.3291, allocations: 202.8 kB / 0.992 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/0.3309, allocations: 0.5287 MB / 0.9925 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/0.331, allocations: 53.3 kB / 0.9926 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.3312, allocations: 56 kB / 0.9926 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.333, allocations: 1.018 MB / 0.9936 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.28e-05/0.3331, allocations: 15.83 kB / 0.9937 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.732e-05/0.3332, allocations: 31.98 kB / 0.9937 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/0.3333, allocations: 65.28 kB / 0.9937 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.3348, allocations: 0.6918 MB / 0.9944 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006758/0.3416, allocations: 5.753 MB / 1 GB, free: 5.305 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.3429, allocations: 0.5994 MB / 1.001 GB, free: 4.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.811e-05/0.3429, allocations: 4 kB / 1.001 GB, free: 4.656 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.343, allocations: 39.25 kB / 1.001 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 3.667e-06/0.343, allocations: 0 / 1.001 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.006103/0.3491, allocations: 1.9 MB / 1.003 GB, free: 2.613 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.3492, allocations: 55.41 kB / 1.003 GB, free: 2.547 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006224/0.3498, allocations: 458.8 kB / 1.003 GB, free: 2.086 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/0.3499, allocations: 37.7 kB / 1.003 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.3501, allocations: 387 kB / 1.003 GB, free: 1.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.3502, allocations: 153.8 kB / 1.004 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.3503, allocations: 12 kB / 1.004 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.3504, allocations: 366.8 kB / 1.004 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004837/0.3509, allocations: 237.2 kB / 1.004 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005804/0.3515, allocations: 440.9 kB / 1.005 GB, free: 380 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006095/0.3521, allocations: 299.8 kB / 1.005 GB, free: 80 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3521, allocations: 0 / 1.005 GB, free: 80 kB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002997/0.3551, allocations: 0.9801 MB / 1.006 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.3552, allocations: 12.16 kB / 1.006 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/0.3552, allocations: 8 kB / 1.006 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00151/0.3568, allocations: 263.2 kB / 1.006 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007182/0.3575, allocations: 103.8 kB / 1.006 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/0.368, allocations: 6.747 MB / 1.013 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007126/0.3687, allocations: 32.34 kB / 1.013 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/0.3688, allocations: 24 kB / 1.013 GB, free: 7.348 MB / 0.6355 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 (55): * Single equations (assignments): 51 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005333/0.3693, allocations: 249.1 kB / 1.013 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.3695, allocations: 63.2 kB / 1.013 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/0.3722, allocations: 0.8264 MB / 1.014 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.3723, allocations: 7.938 kB / 1.014 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.3723, allocations: 8 kB / 1.014 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.3723, allocations: 3.984 kB / 1.014 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00458/0.3769, allocations: 1.726 MB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.3769, allocations: 0 / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00046/0.3774, allocations: 47.95 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/0.3789, allocations: 243.3 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.004e-05/0.3789, allocations: 12 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009466/0.3884, allocations: 6.455 MB / 1.022 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3884, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/0.3911, allocations: 0.9779 MB / 1.023 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003895/0.3916, allocations: 172.4 kB / 1.023 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.3917, allocations: 15.98 kB / 1.023 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004514/0.3922, allocations: 15.98 kB / 1.023 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.3924, allocations: 47.84 kB / 1.023 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.3924, allocations: 11.98 kB / 1.023 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005145/0.3929, allocations: 302.9 kB / 1.024 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.6e-07/0.3929, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00118/0.3941, allocations: 192 kB / 1.024 GB, free: 11.21 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 23 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003168/0.3973, allocations: 1.932 MB / 1.026 GB, free: 9.195 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002867/0.4002, allocations: 1.145 MB / 1.027 GB, free: 8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.4003, allocations: 0 / 1.027 GB, free: 8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001821/0.4021, allocations: 0.7918 MB / 1.028 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.4036, allocations: 183.6 kB / 1.028 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.4149, allocations: 8.439 MB / 1.036 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008578/0.4159, allocations: 1.004 MB / 1.037 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006005/0.4165, allocations: 105.2 kB / 1.037 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/0.4169, allocations: 227.4 kB / 1.037 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of SimCode: time 1.272e-06/0.4169, allocations: 0 / 1.037 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06529/0.4822, allocations: 14 MB / 1.051 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003638/0.4827, allocations: 232 kB / 1.051 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.234/3.717, allocations: 0 / 1.051 GB, free: 15.02 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)