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.ACLine_L.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.ACLine_L,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.71/1.71, allocations: 288.4 MB / 303.3 MB, free: 8.168 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.001004/0.001004, allocations: 180.5 kB / 372 MB, free: 10.31 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.646/1.646, allocations: 205.4 MB / 0.6307 GB, free: 10.04 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.0007165/0.0007164, allocations: 86.39 kB / 0.744 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004014, allocations: 15.97 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2671, allocations: 115.3 MB / 0.9797 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008166/0.2753, allocations: 5.421 MB / 0.985 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006403/0.2818, allocations: 3.046 MB / 0.9879 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006005/0.2824, allocations: 27.81 kB / 0.988 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004326/0.2829, allocations: 115 kB / 0.9881 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.2842, allocations: 374 kB / 0.9884 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.2857, allocations: 385 kB / 0.9888 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00143/0.2871, allocations: 1.205 MB / 0.99 GB, free: 17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.2891, allocations: 0.9094 MB / 0.9909 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006483/0.2897, allocations: 362.4 kB / 0.9912 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006305/0.2904, allocations: 446.3 kB / 0.9916 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.491e-05/0.2905, allocations: 28 kB / 0.9917 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007466/0.2912, allocations: 251.6 kB / 0.9919 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.2915, allocations: 255.3 kB / 0.9921 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.2917, allocations: 165.3 kB / 0.9923 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009755/0.2927, allocations: 0.8768 MB / 0.9931 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2927, allocations: 4 kB / 0.9932 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.695e-06/0.2927, allocations: 0 / 0.9932 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.2927, allocations: 0 / 0.9932 GB, free: 13.7 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.001744/0.2945, allocations: 0.9191 MB / 0.9941 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.2946, allocations: 19.97 kB / 0.9941 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.2947, allocations: 114.5 kB / 0.9942 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.2967, allocations: 222.7 kB / 0.9944 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.2978, allocations: 0.521 MB / 0.9949 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/0.2978, allocations: 45.3 kB / 0.9949 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.298, allocations: 63.98 kB / 0.995 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.2999, allocations: 1.029 MB / 0.996 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-05/0.3, allocations: 7.906 kB / 0.996 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.3001, allocations: 27.98 kB / 0.996 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/0.3003, allocations: 77.2 kB / 0.9961 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.3018, allocations: 0.684 MB / 0.9968 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005444/0.3073, allocations: 5.76 MB / 1.002 GB, free: 3.586 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009899/0.3083, allocations: 0.6074 MB / 1.003 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009844/0.3093, allocations: 418.8 kB / 1.003 GB, free: 2.523 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/0.3094, allocations: 4 kB / 1.003 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.3094, allocations: 34.56 kB / 1.003 GB, free: 2.477 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 4.288e-06/0.3094, allocations: 0 / 1.003 GB, free: 2.477 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.005603/0.315, allocations: 2.049 MB / 1.005 GB, free: 340 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.3151, allocations: 59.41 kB / 1.005 GB, free: 268 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006787/0.3158, allocations: 466.8 kB / 1.006 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.657e-05/0.3158, allocations: 33.7 kB / 1.006 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/0.3162, allocations: 387 kB / 1.006 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.3164, allocations: 149.8 kB / 1.006 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.3165, allocations: 16 kB / 1.007 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002295/0.3167, allocations: 362.8 kB / 1.007 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006491/0.3174, allocations: 245.2 kB / 1.007 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008721/0.3183, allocations: 468.9 kB / 1.008 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007977/0.3191, allocations: 315.7 kB / 1.008 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3191, allocations: 0 / 1.008 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003061/0.3222, allocations: 1.058 MB / 1.009 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.3223, allocations: 11.94 kB / 1.009 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.3223, allocations: 8 kB / 1.009 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001817/0.3241, allocations: 331.3 kB / 1.009 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/0.3247, allocations: 95.83 kB / 1.009 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008514/0.3332, allocations: 6.939 MB / 1.016 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005947/0.3339, allocations: 36.02 kB / 1.016 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-05/0.3339, allocations: 24 kB / 1.016 GB, free: 4.684 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 (53): * Single equations (assignments): 49 * 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 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004646/0.3344, allocations: 253.5 kB / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-05/0.3345, allocations: 55.34 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/0.3363, allocations: 0.9121 MB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.3363, allocations: 4 kB / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3364, allocations: 4 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3364, allocations: 0 / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002934/0.3393, allocations: 1.7 MB / 1.019 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.3393, allocations: 480 / 1.019 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.3395, allocations: 47.97 kB / 1.019 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009793/0.3405, allocations: 323 kB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.3405, allocations: 8 kB / 1.019 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006889/0.3474, allocations: 6.939 MB / 1.026 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.3475, allocations: 7.938 kB / 1.026 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.3492, allocations: 1.003 MB / 1.027 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002616/0.3495, allocations: 176.4 kB / 1.027 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.3496, allocations: 11.95 kB / 1.027 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.3499, allocations: 23.98 kB / 1.027 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.35, allocations: 39.94 kB / 1.027 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.35, allocations: 19.94 kB / 1.027 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003942/0.3504, allocations: 306.9 kB / 1.028 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3504, allocations: 0 / 1.028 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007726/0.3512, allocations: 192 kB / 1.028 GB, free: 7.957 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 (23): * Single equations (assignments): 19 * 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 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002031/0.3532, allocations: 1.56 MB / 1.029 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001928/0.3552, allocations: 1.203 MB / 1.031 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3552, allocations: 8.125 kB / 1.031 GB, free: 5.078 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.3564, allocations: 0.8621 MB / 1.031 GB, free: 4.164 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009748/0.3574, allocations: 178.7 kB / 1.032 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005885/0.3633, allocations: 4.036 MB / 1.035 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006243/0.3639, allocations: 0.9959 MB / 1.036 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000323/0.3643, allocations: 109.2 kB / 1.037 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.3645, allocations: 219.4 kB / 1.037 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of SimCode: time 8.11e-07/0.3646, allocations: 8 kB / 1.037 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.3953, allocations: 14.59 MB / 1.051 GB, free: 124 kB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002861/0.3956, allocations: 241.6 kB / 1.051 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.305/2.701, allocations: 4 kB / 1.051 GB, free: 15.87 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)